Skip to content

Commit

Permalink
Fix wvalue::Operator = (wvalue && r);
Browse files Browse the repository at this point in the history
  • Loading branch information
The-EDev committed Jun 20, 2022
1 parent ee0e025 commit c2d1bfa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion include/crow/json.h
Original file line number Diff line number Diff line change
Expand Up @@ -681,7 +681,7 @@ namespace crow
return (option_ & error_bit) != 0;
}

std::vector<std::string> keys()
std::vector<std::string> keys() const
{
#ifndef CROW_JSON_NO_ERROR_CHECK
if (t() != type::Object)
Expand Down Expand Up @@ -1473,6 +1473,7 @@ namespace crow
wvalue& operator=(wvalue&& r)
{
t_ = r.t_;
nt = r.nt;
num = r.num;
s = std::move(r.s);
l = std::move(r.l);
Expand Down

0 comments on commit c2d1bfa

Please sign in to comment.