From a6265a4442d9ad644c1bcef60581ebc4578d7603 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Tue, 10 Oct 2023 16:09:52 +0200 Subject: [PATCH] reference to destructor and copy constructor --- cpp/src/Example.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cpp/src/Example.cpp b/cpp/src/Example.cpp index c89e244..8204877 100644 --- a/cpp/src/Example.cpp +++ b/cpp/src/Example.cpp @@ -1,3 +1,7 @@ #include "../includes/Example.hpp" Example::Example() { std::cout << "Hello, world!\n"; } + +Example::Example(const Example &) {} + +Example::~Example() {}