diff options
Diffstat (limited to 'cpp/003trace')
-rw-r--r-- | cpp/003trace | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/cpp/003trace b/cpp/003trace index af4858bf..f2070bae 100644 --- a/cpp/003trace +++ b/cpp/003trace @@ -93,7 +93,7 @@ Hide_warnings = false; :(before "End Tracing") struct trace_stream { vector<pair<string, pair<int, string> > > past_lines; // [(layer label, frame, line)] - unordered_map<string, int> frame; + map<string, int> frame; // accumulator for current line ostringstream* curr_stream; string curr_layer; @@ -458,11 +458,10 @@ using std::vector; using std::list; #include<utility> using std::pair; - -#include<tr1/unordered_map> -using std::tr1::unordered_map; -#include<tr1/unordered_set> -using std::tr1::unordered_set; +#include<map> +using std::map; +#include<set> +using std::set; #include<algorithm> #include<iostream> |