diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-07-24 10:06:20 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-07-24 10:06:49 +0200 |
commit | c192109f72d801464232988acc65ea5d4aa62348 (patch) | |
tree | 9c9cd7a91dd526a81a5e48d4aa7cd73332ddb789 /testsuites/samples/cdtest | |
parent | bsp/beagle: Fix warnings (diff) | |
download | rtems-c192109f72d801464232988acc65ea5d4aa62348.tar.bz2 |
samples: Fix warnings
Diffstat (limited to 'testsuites/samples/cdtest')
-rw-r--r-- | testsuites/samples/cdtest/main.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/testsuites/samples/cdtest/main.cc b/testsuites/samples/cdtest/main.cc index 7aeb884354..010bc221f0 100644 --- a/testsuites/samples/cdtest/main.cc +++ b/testsuites/samples/cdtest/main.cc @@ -89,6 +89,10 @@ public: check_end_of_test(); }; +#if __cplusplus >= 201103L + AClass& operator=(const AClass&) = default; +#endif + virtual void print() { printf("%s\n", string); }; protected: |