From 7df80fc5540105858bc8749fdd13937ed6dfd7de Mon Sep 17 00:00:00 2001 From: Francesco Chemolli Date: Mon, 29 Dec 2014 14:14:16 +0100 Subject: [PATCH] More aggressive workaround attempt --- helpers/basic_auth/MSNT/msntauth.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/helpers/basic_auth/MSNT/msntauth.cc b/helpers/basic_auth/MSNT/msntauth.cc index a56ff0a6e8..390ddf42df 100644 --- a/helpers/basic_auth/MSNT/msntauth.cc +++ b/helpers/basic_auth/MSNT/msntauth.cc @@ -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 }; -- 2.47.2