mirror of
https://github.com/CrowCpp/Crow.git
synced 2024-06-07 21:10:44 +00:00
Merge pull request #259 from erikaldsund/fix_r_string_inconsistency
Fixed bug in r_string
This commit is contained in:
commit
943dcba507
@ -175,9 +175,10 @@ namespace crow
|
||||
return os;
|
||||
}
|
||||
private:
|
||||
void force(char* s, uint32_t /*length*/)
|
||||
void force(char* s, uint32_t length)
|
||||
{
|
||||
s_ = s;
|
||||
e_ = s_ + length;
|
||||
owned_ = 1;
|
||||
}
|
||||
friend rvalue crow::json::load(const char* data, size_t size);
|
||||
|
Loading…
Reference in New Issue
Block a user