Skip to content

Commit ebe4b90

Browse files
committed
Tell maike to not go above c++14. c++17 causes NRVO warnings.
1 parent 328e1b7 commit ebe4b90

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

maikeconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
},
4242
"cflags_extra":[],
4343
"cflags_format":"-^",
44-
"cxxversion_max":-1,
44+
"cxxversion_max":201402,
4545
"cxxversion_min":201103,
4646
"dllcompile":{
4747
"args":[

systemtargetinfo.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,5 +136,5 @@ ResourceObject SystemTargetInfo::configDump() const
136136
{
137137
ResourceObjectJansson ret(ResourceObject::Type::OBJECT);
138138
configDump(ret);
139-
return ret;
139+
return std::move(ret);
140140
}

0 commit comments

Comments
 (0)