diff options
author | jknotten@chromium.org <jknotten@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-11 09:03:35 +0000 |
---|---|---|
committer | jknotten@chromium.org <jknotten@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-11 09:03:35 +0000 |
commit | 179e37f0e26609c5f27bfb3f5f10d70a7d10252f (patch) | |
tree | 0a645369f5c37ac309d97ff4ed8f49bb99ceddb8 /net | |
parent | 61c4d5ebaf1f43530b713f97286ea69173695cf0 (diff) | |
download | chromium_src-179e37f0e26609c5f27bfb3f5f10d70a7d10252f.zip chromium_src-179e37f0e26609c5f27bfb3f5f10d70a7d10252f.tar.gz chromium_src-179e37f0e26609c5f27bfb3f5f10d70a7d10252f.tar.bz2 |
Use const operator to enable compilation with stlport.
This is required if you want to use the user configuration
_STLP_USE_PTR_SPECIALIZATIONS=1 for template bloat reduction.
BUG=None
TEST=None
Review URL: http://codereview.chromium.org/6995025
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84956 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net')
-rw-r--r-- | net/http/http_auth_cache.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/http/http_auth_cache.cc b/net/http/http_auth_cache.cc index ab8be9e..a9e8274 100644 --- a/net/http/http_auth_cache.cc +++ b/net/http/http_auth_cache.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2010 The Chromium Authors. All rights reserved. +// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -49,7 +49,7 @@ void CheckOriginIsValid(const GURL& origin) { // Functor used by remove_if. struct IsEnclosedBy { explicit IsEnclosedBy(const std::string& path) : path(path) { } - bool operator() (const std::string& x) { + bool operator() (const std::string& x) const { return IsEnclosingPath(path, x); } const std::string& path; |