Fixed AMF analyser not displaying any output.
This commit is contained in:
parent
8e2c8680f3
commit
65a5c2c9b0
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ int main(int argc, char ** argv){
|
||||||
} //read all of std::cin to temp
|
} //read all of std::cin to temp
|
||||||
temp.erase(temp.size() - 1, 1); //strip the invalid last character
|
temp.erase(temp.size() - 1, 1); //strip the invalid last character
|
||||||
AMF::Object amfdata = AMF::parse(temp); //parse temp into an AMF::Object
|
AMF::Object amfdata = AMF::parse(temp); //parse temp into an AMF::Object
|
||||||
amfdata.Print(); //pretty-print the object
|
std::cerr << amfdata.Print() << std::endl; //pretty-print the object
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue