Commit 4912af30 authored by Dariusz Ostolski's avatar Dariusz Ostolski

#253: Use MS preprocessor idiom to disable warning

parent d0531421
......@@ -1148,11 +1148,12 @@ public:
// http://msdn.microsoft.com/en-us/library/3tdb471s(VS.80).aspx
// Let's just ignore the warning.
#ifdef _MSC_VER
# pragma warning(push)
# pragma warning(disable: 4275)
#endif
class GOOGLE_GLOG_DLL_DECL LogStream : public std::ostream {
#ifdef _MSC_VER
# pragma warning(default: 4275)
# pragma warning(pop)
#endif
public:
LogStream(char *buf, int len, int ctr)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment