diff options
Diffstat (limited to 'lib/glRef.hpp')
-rw-r--r-- | lib/glRef.hpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/glRef.hpp b/lib/glRef.hpp index b33980d..3377390 100644 --- a/lib/glRef.hpp +++ b/lib/glRef.hpp @@ -44,6 +44,12 @@ public: return id; } + auto + operator->() const + { + return id; + } + operator IdType() const { return id; |