mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-15 09:31:45 +00:00
Test.PluginServices: Fix -Wdeprecated-copy
This commit is contained in:
committed by
Dennis Klein
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;
|
||||
};
|
||||
|
Reference in New Issue
Block a user