summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/include/types.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/types.h b/src/include/types.h
index c783b6e93ce..dff47ac2b98 100644
--- a/src/include/types.h
+++ b/src/include/types.h
@@ -120,7 +120,7 @@ namespace __gnu_cxx {
// -- io helpers --
template<class A, class B>
-inline ostream& operator<<(ostream& out, const pair<A,B> v) {
+inline ostream& operator<<(ostream& out, const pair<A,B>& v) {
return out << v.first << "," << v.second;
}