diff options
Diffstat (limited to 'src/pass.h')
-rw-r--r-- | src/pass.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pass.h b/src/pass.h index 0a3d85e02..78d1f594e 100644 --- a/src/pass.h +++ b/src/pass.h @@ -49,7 +49,7 @@ private: struct PassInfo { std::string description; Creator create; - PassInfo() {} + PassInfo() = default; PassInfo(std::string description, Creator create) : description(description), create(create) {} }; std::map<std::string, PassInfo> passInfos; @@ -253,8 +253,8 @@ public: std::string name; protected: - Pass() {} - Pass(Pass &) {} + Pass() = default; + Pass(Pass &) = default; Pass &operator=(const Pass&) = delete; }; |