mirror of
https://github.com/CrowCpp/Crow.git
synced 2024-06-07 21:10:44 +00:00
removed superfluous move of temporary.
This commit is contained in:
parent
43ab82ea27
commit
bb58cc1a8b
@ -1300,7 +1300,7 @@ namespace crow
|
||||
type t() const { return t_; }
|
||||
|
||||
/// Create an empty json value (outputs "{}" instead of a "null" string)
|
||||
static crow::json::wvalue empty_object() { return crow::json::wvalue(std::move(crow::json::wvalue::object())); }
|
||||
static crow::json::wvalue empty_object() { return crow::json::wvalue::object(); }
|
||||
|
||||
private:
|
||||
type t_{type::Null}; ///< The type of the value.
|
||||
|
Loading…
Reference in New Issue
Block a user