Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
G
glog
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
glog
Commits
702c533c
Unverified
Commit
702c533c
authored
Dec 12, 2018
by
Sergiu Deitsch
Committed by
GitHub
Dec 12, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #397 from kwaegel/patch-1
Use push/pop macro when supressing warning
parents
6adf6d7a
615d0b97
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
6 deletions
+2
-6
logging.h
src/windows/glog/logging.h
+2
-6
No files found.
src/windows/glog/logging.h
View file @
702c533c
...
...
@@ -1155,13 +1155,9 @@ public:
// 2005 if you are deriving from a type in the Standard C++ Library"
// http://msdn.microsoft.com/en-us/library/3tdb471s(VS.80).aspx
// Let's just ignore the warning.
#ifdef _MSC_VER
# pragma warning(disable: 4275)
#endif
GLOG_MSVC_PUSH_DISABLE_WARNING
(
4275
)
class
GOOGLE_GLOG_DLL_DECL
LogStream
:
public
std
::
ostream
{
#ifdef _MSC_VER
# pragma warning(default: 4275)
#endif
GLOG_MSVC_POP_WARNING
()
public
:
LogStream
(
char
*
buf
,
int
len
,
int
ctr
)
:
std
::
ostream
(
NULL
),
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment