X-Git-Url: http://xvm.mit.edu/gitweb/invirt/third/libt4.git/blobdiff_plain/5d99dbf06a14904944f5593c63705934bdfdcfb7..5bb7eb131773abd9e642f83629528b4c4e706b2e:/threaded_log.h diff --git a/threaded_log.h b/threaded_log.h index 750c5d2..6630a86 100644 --- a/threaded_log.h +++ b/threaded_log.h @@ -19,7 +19,7 @@ namespace std { } template -typename enable_if::value && !is_same::value, ostream>::type & +typename enable_if::value && !is_same::value, ostream>::type & operator<<(ostream &o, const A &a) { return o << "[" << implode(a, ", ") << "]"; } @@ -38,7 +38,7 @@ operator<<(ostream &o, const A &a) { int _self_ = instance_name_map[this]; \ if (_self_==0) \ _self_ = instance_name_map[this] = ++next_instance_num; \ - cerr << "#" << setw(2) << " " << _self_; \ + cerr << "#" << left << setw(2) << _self_ << " "; \ } #define LOG_NONMEMBER(_x_) { \