We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f156ef0 commit 272cde0Copy full SHA for 272cde0
src/util/string_container.cpp
@@ -74,10 +74,3 @@ unsigned string_containert::get(const std::string &s)
74
75
return r;
76
}
77
-
78
-/// Get a reference to the global string container.
79
-string_containert &get_string_container()
80
-{
81
- static string_containert ret;
82
- return ret;
83
-}
src/util/string_container.h
@@ -89,6 +89,11 @@ class string_containert
89
string_vectort string_vector;
90
};
91
92
-string_containert &get_string_container();
+/// Get a reference to the global string container.
93
+inline string_containert &get_string_container()
94
+{
95
+ static string_containert ret;
96
+ return ret;
97
+}
98
99
#endif // CPROVER_UTIL_STRING_CONTAINER_H
0 commit comments