region: make ostream output spacing consistent

This commit is contained in:
Danny Robson 2016-12-21 16:45:08 +11:00
parent 2e0fa64494
commit 74f7bc2e1a

View File

@ -340,7 +340,7 @@ util::region<S,T>::operator== (region rhs) const
template <size_t S, typename T>
std::ostream&
util::operator<< (std::ostream &os, const util::region<S,T> &rhs) {
return os << "{position: " << rhs.p << ", extent: " << rhs.e << "}";
return os << "{ position: " << rhs.p << ", extent: " << rhs.e << " }";
}
@ -357,9 +357,9 @@ namespace util { namespace debug {
///////////////////////////////////////////////////////////////////////////////
#define INSTANTIATE_S_T(S,T) \
template struct util::region<S,T>; \
template std::ostream& util::operator<< (std::ostream&, const region<S,T>&); \
#define INSTANTIATE_S_T(S,T) \
template struct util::region<S,T>; \
template std::ostream& util::operator<< (std::ostream&, const region<S,T>&); \
template struct util::debug::validator<util::region<S,T>>;
#define INSTANTIATE(T) \