Skip to content

Commit

Permalink
Add const qualifier to rvalue lo method
Browse files Browse the repository at this point in the history
  • Loading branch information
Tristan CADET authored and gittiver committed Sep 6, 2024
1 parent dfbce12 commit a9e7b73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/crow/json.h
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@ namespace crow // NOTE: Already documented in "crow/app.h"
}

/// The list or object value
std::vector<rvalue> lo()
std::vector<rvalue> lo() const
{
#ifndef CROW_JSON_NO_ERROR_CHECK
if (t() != type::Object && t() != type::List)
Expand Down

0 comments on commit a9e7b73

Please sign in to comment.