From f1ea2fa47af56a08b964a5ad0512156bfcbfda11 Mon Sep 17 00:00:00 2001 From: "mmentovai@google.com" Date: Thu, 21 Aug 2008 22:26:06 +0000 Subject: Fix the final gcc warnings in base and net. Provide some macros to selectively disable MSVC warnings. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1194 0039d316-1c4b-4281-b951-d872f2087c98 --- base/message_loop.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'base/message_loop.cc') diff --git a/base/message_loop.cc b/base/message_loop.cc index bdf99f0..2b7d274 100644 --- a/base/message_loop.cc +++ b/base/message_loop.cc @@ -31,6 +31,7 @@ #include +#include "base/compiler_specific.h" #include "base/logging.h" #include "base/message_pump_default.h" #include "base/string_util.h" @@ -80,7 +81,7 @@ static LPTOP_LEVEL_EXCEPTION_FILTER GetTopSEHFilter() { //------------------------------------------------------------------------------ MessageLoop::MessageLoop() - : timer_manager_(this), + : ALLOW_THIS_IN_INITIALIZER_LIST(timer_manager_(this)), nestable_tasks_allowed_(true), exception_restoration_(false), state_(NULL) { -- cgit v1.1