*: 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:
@@ -130,13 +130,8 @@ CompositeStorage::Directory::Make(const char *uri)
|
||||
Directory *directory = this;
|
||||
while (*uri != 0) {
|
||||
const std::string name = NextSegment(uri);
|
||||
#if CLANG_OR_GCC_VERSION(4,8)
|
||||
auto i = directory->children.emplace(std::move(name),
|
||||
Directory());
|
||||
#else
|
||||
auto i = directory->children.insert(std::make_pair(std::move(name),
|
||||
Directory()));
|
||||
#endif
|
||||
directory = &i.first->second;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user