mirror of
https://github.com/MoleskiCoder/EightBit.git
synced 2025-01-18 01:29:49 +00:00
rapidjson can use an std::string constructor.
Signed-off-by: Adrian Conlon <adrian.conlon@gmail.com>
This commit is contained in:
parent
710c8fb883
commit
1943db6f20
@ -80,7 +80,7 @@ void opcode_test_suite_t::parse() {
|
||||
#ifdef USE_RAPIDJSON_JSON
|
||||
|
||||
void opcode_test_suite_t::parse() {
|
||||
m_raw.Parse(m_contents.c_str());
|
||||
m_raw.Parse(m_contents);
|
||||
m_contents.clear();
|
||||
m_contents.shrink_to_fit();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user