Commit a11ec697 authored by StilesCrisis's avatar StilesCrisis

More C++98 fixes

parent 6288d95d
......@@ -7,7 +7,9 @@ using namespace std;
// If you can require C++11, you could use std::to_string here
template <typename T> std::string stringify(T x) {
return (std::stringstream() << x).str();
std::stringstream ss;
ss << x;
return ss.str();
}
struct MyHandler {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment