mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-15 17:41:45 +00:00
Apply modernize-use-equals-default
This commit is contained in:
committed by
Dennis Klein
parent
9444de5868
commit
6aeac265ec
@@ -91,8 +91,7 @@ class TestDevice : public FairMQDevice
|
||||
class Config : public ::testing::Test
|
||||
{
|
||||
public:
|
||||
Config()
|
||||
{}
|
||||
Config() = default;
|
||||
|
||||
string TestDeviceSetConfig(const string& transport)
|
||||
{
|
||||
|
@@ -23,7 +23,7 @@ using namespace fair::mq;
|
||||
class SlowDevice : public FairMQDevice
|
||||
{
|
||||
public:
|
||||
SlowDevice() {}
|
||||
SlowDevice() = default;
|
||||
|
||||
protected:
|
||||
void Init()
|
||||
|
@@ -13,10 +13,10 @@
|
||||
|
||||
struct MyClass
|
||||
{
|
||||
MyClass() {}
|
||||
MyClass() = default;
|
||||
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) = default;
|
||||
std::string msg;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user