]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Added missing namespace to the std::find() call to make Sun's compiler happier.
authorAlex Rousskov <rousskov@measurement-factory.com>
Fri, 26 Nov 2010 04:51:23 +0000 (21:51 -0700)
committerAlex Rousskov <rousskov@measurement-factory.com>
Fri, 26 Nov 2010 04:51:23 +0000 (21:51 -0700)
src/cache_manager.cc

index 07fa4081891f3158d216d5049bda0a60fdaa25b5..95c9d27c5bebeaadcf1d982cc8e8138b1bca227f 100644 (file)
@@ -81,7 +81,7 @@ void
 CacheManager::registerProfile(const Mgr::ActionProfile::Pointer &profile)
 {
     Must(profile != NULL);
-    if (find(menu_.begin(), menu_.end(), profile) == menu_.end()) {
+    if (std::find(menu_.begin(), menu_.end(), profile) == menu_.end()) {
         menu_.push_back(profile);
         debugs(16, 3, HERE << "registered profile: " << *profile);
     } else {