@@ -1040,7 +1040,7 @@ std::unique_ptr<web::json::details::_Value> JSON_Parser<CharType>::_ParseArray(
1040
1040
case JSON_Parser<CharType>::Token::TKN_CloseBracket:
1041
1041
GetNextToken (tkn);
1042
1042
if (tkn.m_error ) return utility::details::make_unique<web::json::details::_Null>();
1043
- return std::move ( result) ;
1043
+ return result;
1044
1044
default :
1045
1045
SetErrorCode (tkn, json_error::malformed_array_literal);
1046
1046
return utility::details::make_unique<web::json::details::_Null>();
@@ -1074,7 +1074,7 @@ std::unique_ptr<web::json::details::_Value> JSON_Parser<CharType>::_ParseValue(
1074
1074
tkn.has_unescape_symbol );
1075
1075
GetNextToken (tkn);
1076
1076
if (tkn.m_error ) return utility::details::make_unique<web::json::details::_Null>();
1077
- return std::move ( value) ;
1077
+ return value;
1078
1078
}
1079
1079
case JSON_Parser<CharType>::Token::TKN_IntegerLiteral:
1080
1080
{
@@ -1086,21 +1086,21 @@ std::unique_ptr<web::json::details::_Value> JSON_Parser<CharType>::_ParseValue(
1086
1086
1087
1087
GetNextToken (tkn);
1088
1088
if (tkn.m_error ) return utility::details::make_unique<web::json::details::_Null>();
1089
- return std::move ( value) ;
1089
+ return value;
1090
1090
}
1091
1091
case JSON_Parser<CharType>::Token::TKN_NumberLiteral:
1092
1092
{
1093
1093
auto value = utility::details::make_unique<web::json::details::_Number>(tkn.double_val );
1094
1094
GetNextToken (tkn);
1095
1095
if (tkn.m_error ) return utility::details::make_unique<web::json::details::_Null>();
1096
- return std::move ( value) ;
1096
+ return value;
1097
1097
}
1098
1098
case JSON_Parser<CharType>::Token::TKN_BooleanLiteral:
1099
1099
{
1100
1100
auto value = utility::details::make_unique<web::json::details::_Boolean>(tkn.boolean_val );
1101
1101
GetNextToken (tkn);
1102
1102
if (tkn.m_error ) return utility::details::make_unique<web::json::details::_Null>();
1103
- return std::move ( value) ;
1103
+ return value;
1104
1104
}
1105
1105
case JSON_Parser<CharType>::Token::TKN_NullLiteral:
1106
1106
{
0 commit comments