We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0380186 commit 67e38f3Copy full SHA for 67e38f3
1 file changed
lib/token.cpp
@@ -45,12 +45,14 @@
45
#include <unordered_set>
46
#include <utility>
47
48
-struct less {
49
- template<class T, class U>
50
- bool operator()(const T& x, const U& y) const {
51
- return x < y;
52
- }
53
-};
+namespace {
+ struct less {
+ template<class T, class U>
+ bool operator()(const T &x, const U &y) const {
+ return x < y;
+ }
54
+ };
55
+}
56
57
const std::list<ValueFlow::Value> TokenImpl::mEmptyValueList;
58
0 commit comments