summaryrefslogtreecommitdiffhomepage
path: root/compat/weak-borrowed-ptr.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-07-16 18:56:36 +0200
committerStanislaw Halik <sthalik@misaki.pl>2024-07-16 18:56:36 +0200
commitd71c3ca30ea79d6a54446be8c5a9da169d7ccd1e (patch)
tree0fb292bea536aa80f06e35b9b6877f1ce0a02153 /compat/weak-borrowed-ptr.hpp
parent54a90fdfe41abfefca1a4e28969c6e4eff93bd83 (diff)
w
Diffstat (limited to 'compat/weak-borrowed-ptr.hpp')
-rw-r--r--compat/weak-borrowed-ptr.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/compat/weak-borrowed-ptr.hpp b/compat/weak-borrowed-ptr.hpp
index ac512c5c..e9ceceaf 100644
--- a/compat/weak-borrowed-ptr.hpp
+++ b/compat/weak-borrowed-ptr.hpp
@@ -1,6 +1,10 @@
#pragma once
#include "borrowed-ptr.hpp"
+#ifdef FM_NO_WEAK_BPTR
+#error weak_bptr not supported!
+#endif
+
namespace floormat {
template<typename T>