aboutsummaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/relptr.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/relptr.h b/common/relptr.h
index f8f1d429..035d61fb 100644
--- a/common/relptr.h
+++ b/common/relptr.h
@@ -36,4 +36,7 @@ NPNR_PACKED_STRUCT(template <typename T> struct RelSlice {
const T &operator*() const { return *(get()); }
const T *operator->() const { return get(); }
+
+ RelSlice(const RelSlice &) = delete;
+ RelSlice &operator=(const RelSlice &) = delete;
});