summaryrefslogtreecommitdiff
path: root/tests/testsrc/good/constructor1.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testsrc/good/constructor1.h')
-rw-r--r--tests/testsrc/good/constructor1.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/testsrc/good/constructor1.h b/tests/testsrc/good/constructor1.h
index 4e5a06d..d33fadb 100644
--- a/tests/testsrc/good/constructor1.h
+++ b/tests/testsrc/good/constructor1.h
@@ -22,6 +22,8 @@
class Test1 final
{
+ A_DELETE_COPY(Test1)
+
Test1::Test1()
{
}
@@ -29,6 +31,8 @@ class Test1 final
struct Test2 final
{
+ A_DEFAULT_COPY(Test2)
+
Test2::Test2() :
data1(),
data2()