mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-13 00:31:14 +00:00
Test.PluginServices: Fix -Wdeprecated-copy
This commit is contained in:
parent
caffbf2ebf
commit
051f064c60
|
@ -15,6 +15,7 @@ struct MyClass
|
|||
{
|
||||
MyClass() : msg() {}
|
||||
MyClass(const std::string& a) : msg(a) {}
|
||||
MyClass(const MyClass&) = default;
|
||||
MyClass& operator=(const MyClass& b) { msg = b.msg; return *this; };
|
||||
std::string msg;
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue
Block a user