diff options
Diffstat (limited to 'base/gfx/rect.h')
-rw-r--r-- | base/gfx/rect.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/base/gfx/rect.h b/base/gfx/rect.h index 6da1b55..f944dd7 100644 --- a/base/gfx/rect.h +++ b/base/gfx/rect.h @@ -12,7 +12,7 @@ #ifndef BASE_GFX_RECT_H__ #define BASE_GFX_RECT_H__ -#include <iostream> +#include <iosfwd> #include "base/gfx/point.h" #include "base/gfx/size.h" @@ -155,8 +155,6 @@ class Rect { } // namespace gfx -inline std::ostream& operator<<(std::ostream& out, const gfx::Rect& r) { - return out << r.origin() << " " << r.size(); -} +std::ostream& operator<<(std::ostream& out, const gfx::Rect& r); #endif // BASE_GFX_RECT_H__ |