Skip to content

Commit

Permalink
Tell maike to not go above c++14. c++17 causes NRVO warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
milasudril committed Aug 10, 2024
1 parent 328e1b7 commit ebe4b90
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion maikeconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
},
"cflags_extra":[],
"cflags_format":"-^",
"cxxversion_max":-1,
"cxxversion_max":201402,
"cxxversion_min":201103,
"dllcompile":{
"args":[
Expand Down
2 changes: 1 addition & 1 deletion systemtargetinfo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -136,5 +136,5 @@ ResourceObject SystemTargetInfo::configDump() const
{
ResourceObjectJansson ret(ResourceObject::Type::OBJECT);
configDump(ret);
return ret;
return std::move(ret);
}

0 comments on commit ebe4b90

Please sign in to comment.