diff options
Diffstat (limited to 'chrome/browser/printing/page_number.h')
-rw-r--r-- | chrome/browser/printing/page_number.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/chrome/browser/printing/page_number.h b/chrome/browser/printing/page_number.h index 6042869..2782824 100644 --- a/chrome/browser/printing/page_number.h +++ b/chrome/browser/printing/page_number.h @@ -5,9 +5,7 @@ #ifndef CHROME_BROWSER_PRINTING_PAGE_NUMBER_H__ #define CHROME_BROWSER_PRINTING_PAGE_NUMBER_H__ -#ifdef _DEBUG #include <ostream> -#endif #include "chrome/browser/printing/page_range.h" @@ -65,8 +63,8 @@ class PageNumber { // Debug output support. template<class E, class T> -inline std::basic_ostream<E,T>& operator<<(std::basic_ostream<E,T>& ss, - const PageNumber& page) { +inline typename std::basic_ostream<E,T>& operator<<( + typename std::basic_ostream<E,T>& ss, const PageNumber& page) { return ss << page.ToInt(); } |