summaryrefslogtreecommitdiff
path: root/distrho/src/DistrhoDefines.h
diff options
context:
space:
mode:
Diffstat (limited to 'distrho/src/DistrhoDefines.h')
-rw-r--r--distrho/src/DistrhoDefines.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/distrho/src/DistrhoDefines.h b/distrho/src/DistrhoDefines.h
index 14492f6c..a2e5522c 100644
--- a/distrho/src/DistrhoDefines.h
+++ b/distrho/src/DistrhoDefines.h
@@ -128,7 +128,12 @@ private: \
StructName& operator=(StructName&) = delete; \
StructName& operator=(const StructName&) = delete;
#else
-# define DISTRHO_DECLARE_NON_COPY_STRUCT(StructName)
+# define DISTRHO_DECLARE_NON_COPY_STRUCT(StructName) \
+private: \
+ StructName(StructName&); \
+ StructName(const StructName&); \
+ StructName& operator=(StructName&); \
+ StructName& operator=(const StructName&);
#endif
/* Define DISTRHO_PREVENT_HEAP_ALLOCATION */