GraphicsModGroup: Mark move constructor and assignment as noexcept
Allows containers to optimize off of std::move_if_noexcept
This commit is contained in:
parent
0327b11e0b
commit
2253d9a95d
|
@ -26,11 +26,12 @@ GraphicsModGroupConfig::~GraphicsModGroupConfig() = default;
|
|||
|
||||
GraphicsModGroupConfig::GraphicsModGroupConfig(const GraphicsModGroupConfig&) = default;
|
||||
|
||||
GraphicsModGroupConfig::GraphicsModGroupConfig(GraphicsModGroupConfig&&) = default;
|
||||
GraphicsModGroupConfig::GraphicsModGroupConfig(GraphicsModGroupConfig&&) noexcept = default;
|
||||
|
||||
GraphicsModGroupConfig& GraphicsModGroupConfig::operator=(const GraphicsModGroupConfig&) = default;
|
||||
|
||||
GraphicsModGroupConfig& GraphicsModGroupConfig::operator=(GraphicsModGroupConfig&&) = default;
|
||||
GraphicsModGroupConfig&
|
||||
GraphicsModGroupConfig::operator=(GraphicsModGroupConfig&&) noexcept = default;
|
||||
|
||||
void GraphicsModGroupConfig::Load()
|
||||
{
|
||||
|
|
|
@ -20,10 +20,10 @@ public:
|
|||
~GraphicsModGroupConfig();
|
||||
|
||||
GraphicsModGroupConfig(const GraphicsModGroupConfig&);
|
||||
GraphicsModGroupConfig(GraphicsModGroupConfig&&);
|
||||
GraphicsModGroupConfig(GraphicsModGroupConfig&&) noexcept;
|
||||
|
||||
GraphicsModGroupConfig& operator=(const GraphicsModGroupConfig&);
|
||||
GraphicsModGroupConfig& operator=(GraphicsModGroupConfig&&);
|
||||
GraphicsModGroupConfig& operator=(GraphicsModGroupConfig&&) noexcept;
|
||||
|
||||
void Load();
|
||||
void Save() const;
|
||||
|
|
Loading…
Reference in New Issue