nfa: switch to using bytecode_ptr<NFA>

This commit is contained in:
Justin Viiret
2017-04-03 17:21:37 +10:00
committed by Matthew Barr
parent 905ac78061
commit a197074c5d
27 changed files with 251 additions and 241 deletions

View File

@@ -63,8 +63,7 @@ public:
bytecode_ptr(std::nullptr_t) {}
T *get() { return ptr.get(); };
const T *get() const { return ptr.get(); };
T *get() const { return ptr.get(); };
T &operator*() { return *ptr; }
const T &operator*() const { return *ptr; }