]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
More aggressive workaround attempt
authorFrancesco Chemolli <kinkie@squid-cache.org>
Mon, 29 Dec 2014 13:14:16 +0000 (14:14 +0100)
committerFrancesco Chemolli <kinkie@squid-cache.org>
Mon, 29 Dec 2014 13:14:16 +0000 (14:14 +0100)
helpers/basic_auth/MSNT/msntauth.cc

index a56ff0a6e845605657ba1f361a57cc96b7be51ca..390ddf42dff7b8a5c0de13de4a555302191094d4 100644 (file)
@@ -59,11 +59,12 @@ struct domaincontroller {
     domaincontroller(const std::string &d, const std::string & s) :
         domain(d), server(s)
     {}
+#if __cplusplus >= 201103L
+    // disable move constructor to work around centos-6 clang bug
+    // this is not a performance-critical functionality anyway
     domaincontroller (const domaincontroller &d) :
         domain(d.domain), server(d.server)
     {}
-#if 0 && __cplusplus >= 201103L
-    // disable move constructor to work around centos-6 clang bug
     domaincontroller (domaincontroller &&) = delete;
 #endif
 };