Skip to content

Commit 9b94049

Browse files
Короче -> "Move engine script story ID under EngineExternal (default is "off")"
1 parent 26e177a commit 9b94049

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/xrCore/_stl_extensions.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -114,10 +114,10 @@ using xr_hash_map = std::unordered_map<K, V, std::hash<K>, _Traits, allocator>;
114114
template <typename K, typename H = std::hash<K>, class _Traits = std::equal_to<K>, typename allocator = xalloc<K> >
115115
using xr_hash_set = std::unordered_set<K, H, _Traits, allocator>;
116116

117-
#if __cplusplus > 202002L
118-
#include <scope>
119-
using xr_scope_exit = std::scope_exit;
120-
#else
117+
//#if __cplusplus > 202002L
118+
//#include <scope>
119+
//using xr_scope_exit = std::scope_exit;
120+
//#else
121121
template<typename T>
122122
requires requires(T a) { {a()} -> std::convertible_to<void>; }
123123
struct xr_scope_exit
@@ -133,7 +133,7 @@ struct xr_scope_exit
133133
xr_scope_exit(xr_scope_exit&&) noexcept = default;
134134
xr_scope_exit& operator=(xr_scope_exit&&) noexcept = default;
135135
};
136-
#endif
136+
//#endif
137137

138138
struct pred_str {
139139
IC bool operator()(const char* x, const char* y) const { return xr_strcmp(x,y)<0; }

0 commit comments

Comments
 (0)