diff --git a/maikeconfig.json b/maikeconfig.json index 28058b0..fa545ad 100644 --- a/maikeconfig.json +++ b/maikeconfig.json @@ -41,7 +41,7 @@ }, "cflags_extra":[], "cflags_format":"-^", - "cxxversion_max":-1, + "cxxversion_max":201402, "cxxversion_min":201103, "dllcompile":{ "args":[ diff --git a/systemtargetinfo.cpp b/systemtargetinfo.cpp index 85175b5..b40a729 100644 --- a/systemtargetinfo.cpp +++ b/systemtargetinfo.cpp @@ -136,5 +136,5 @@ ResourceObject SystemTargetInfo::configDump() const { ResourceObjectJansson ret(ResourceObject::Type::OBJECT); configDump(ret); - return ret; + return std::move(ret); } \ No newline at end of file