Commit ebb82a2a authored by Marco Bubke's avatar Marco Bubke
Browse files

Clang: Remove undefined behavior



Never forward declare STL container.

Change-Id: Ie2d222f858f555294581bbea90300755973cb54e
Reviewed-by: Christian Stenger's avatarChristian Stenger <christian.stenger@qt.io>
Reviewed-by: Tim Jenssen's avatarTim Jenssen <tim.jenssen@qt.io>
parent 413a601f
......@@ -44,6 +44,7 @@
#include <cstring>
#include <iosfwd>
#include <string>
#include <unordered_map>
#include <utility>
#pragma push_macro("constexpr")
......@@ -842,14 +843,6 @@ template<> struct hash<Utils::SmallString>
}
};
template<
class Key,
class T,
class Hash,
class KeyEqual,
class Allocator>
class unordered_map;
template<typename Key,
typename Value,
typename Hash = hash<Key>,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment