mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-09-29 19:24:25 +03:00
nfa: switch to using bytecode_ptr<NFA>
This commit is contained in:
committed by
Matthew Barr
parent
905ac78061
commit
a197074c5d
@@ -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; }
|
||||
|
Reference in New Issue
Block a user