Fixed AMF analyser not displaying any output.

This commit is contained in:
Thulinma 2013-02-25 14:44:17 +01:00
parent 8e2c8680f3
commit 65a5c2c9b0

View file

@ -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;
} }