*: remove lots of GCC 4.8 fallback code

We can remove those C++11 and C++14 kludges because we require GCC 4.9
now.
This commit is contained in:
Max Kellermann
2017-05-16 11:29:15 +02:00
parent 86a0a42a8d
commit 59e4f1ee0f
9 changed files with 4 additions and 65 deletions

View File

@@ -212,14 +212,7 @@ SmbclientNeighborExplorer::Run()
prev = i;
} else {
/* can't see it anymore: move to "lost" */
#if CLANG_OR_GCC_VERSION(4,7)
lost.splice_after(lost.before_begin(), list, prev);
#else
/* the forward_list::splice_after() lvalue
reference overload is missing in gcc 4.6 */
lost.emplace_front(std::move(*i));
list.erase_after(prev);
#endif
}
}