Test.PluginServices: Fix -Wdeprecated-copy

This commit is contained in:
Dennis Klein 2019-07-05 16:54:51 +02:00 committed by Dennis Klein
parent caffbf2ebf
commit 051f064c60

View File

@ -15,6 +15,7 @@ struct MyClass
{ {
MyClass() : msg() {} MyClass() : msg() {}
MyClass(const std::string& a) : msg(a) {} MyClass(const std::string& a) : msg(a) {}
MyClass(const MyClass&) = default;
MyClass& operator=(const MyClass& b) { msg = b.msg; return *this; }; MyClass& operator=(const MyClass& b) { msg = b.msg; return *this; };
std::string msg; std::string msg;
}; };