summaryrefslogtreecommitdiffstats
path: root/src/item.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/item.hpp')
-rw-r--r--src/item.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/item.hpp b/src/item.hpp
index faebf79..ae282a9 100644
--- a/src/item.hpp
+++ b/src/item.hpp
@@ -69,7 +69,7 @@ struct item_t : public std::tuple<std::string, std::vector<symbol_t>, unsigned>
get_point()++;
}
- symbol_t get_next_symbol() const {
+ const symbol_t & get_next_symbol() const {
return get_rhs()[get_point()];
}
};