diff options
Diffstat (limited to 'src/compat/nullpo.hpp')
-rw-r--r-- | src/compat/nullpo.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/compat/nullpo.hpp b/src/compat/nullpo.hpp index 5be674a..718c7aa 100644 --- a/src/compat/nullpo.hpp +++ b/src/compat/nullpo.hpp @@ -52,6 +52,8 @@ bool nullpo_chk(const char *file, int line, const char *func, const void *target); template<class T> +bool nullpo_chk(const char *file, int line, const char *func, Borrowed<T> target) = delete; +template<class T> bool nullpo_chk(const char *file, int line, const char *func, T target) { return nullpo_chk(file, line, func, target.operator->()); |