]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - src/acl/NoteData.cc
Source Format Enforcement (#763)
[thirdparty/squid.git] / src / acl / NoteData.cc
index d7f1f41d8540083cd6bfbb48eea9323304794a4b..8448ef0d4ebc980da003bd9cbdb5c93f0231402a 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 1996-2017 The Squid Software Foundation and contributors
+ * Copyright (C) 1996-2021 The Squid Software Foundation and contributors
  *
  * Squid software is distributed under GPLv2+ license and includes
  * contributions from numerous individuals and organizations.
@@ -40,13 +40,7 @@ ACLNoteData::dump() const
 {
     SBufList sl;
     sl.push_back(name);
-#if __cplusplus >= 201103L
     sl.splice(sl.end(), values->dump());
-#else
-    // temp is needed until c++11 move constructor
-    SBufList temp = values->dump();
-    sl.splice(sl.end(), temp);
-#endif
     return sl;
 }