diff options
author | Sadie Powell <sadie@witchery.services> | 2020-01-20 21:59:17 +0000 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2020-01-22 10:13:06 +0000 |
commit | a8b8cfe99e42cb0987594f160be11d0c9cc7866e (patch) | |
tree | a7d7e1ad65bd3a098402220a9fb6e0d7b8e40eb3 /include | |
parent | c83a670c194ba3c9cf6a1fc7d670414e3dfeaa3e (diff) |
Make the dynref bool operator constant.
Diffstat (limited to 'include')
-rw-r--r-- | include/dynref.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/dynref.h b/include/dynref.h index 8d55d10aa..2436720aa 100644 --- a/include/dynref.h +++ b/include/dynref.h @@ -52,7 +52,7 @@ class CoreExport dynamic_reference_base : public interfacebase, public insp::int void SetCaptureHook(CaptureHook* h) { hook = h; } void check(); - operator bool() { return (value != NULL); } + operator bool() const { return (value != NULL); } static void reset_all(); }; |