summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-10-16 12:05:06 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-10-16 12:05:29 +0200
commit901f6da81b5006d33d7ad1f97b70f4c60708d609 (patch)
tree2e364533172df4fc29d7aca718a597de493d4a49 /include
parent192e1cd86f0b072c3efaa7ad32afb303efbff9d9 (diff)
Let operator<< be found via ADL
Change-Id: I590ebb954ec249668a62c0c0a8959422af08485e
Diffstat (limited to 'include')
-rw-r--r--include/basegfx/vector/b2ivector.hxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/include/basegfx/vector/b2ivector.hxx b/include/basegfx/vector/b2ivector.hxx
index 9c5b5165f527..e8fac19d81cf 100644
--- a/include/basegfx/vector/b2ivector.hxx
+++ b/include/basegfx/vector/b2ivector.hxx
@@ -139,14 +139,14 @@ namespace basegfx
*/
BASEGFX_DLLPUBLIC B2IVector operator*( const B2DHomMatrix& rMat, const B2IVector& rVec );
-} // end of namespace basegfx
+ template< typename charT, typename traits >
+ inline std::basic_ostream<charT, traits> & operator <<(
+ std::basic_ostream<charT, traits> & stream, const basegfx::B2IVector& vector )
+ {
+ return stream << "(" << vector.getX() << "," << vector.getY() << ")";
+ }
-template< typename charT, typename traits >
-inline std::basic_ostream<charT, traits> & operator <<(
- std::basic_ostream<charT, traits> & stream, const basegfx::B2IVector& vector )
-{
- return stream << "(" << vector.getX() << "," << vector.getY() << ")";
-}
+} // end of namespace basegfx
#endif // INCLUDED_BASEGFX_VECTOR_B2IVECTOR_HXX