mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-11 22:31:55 +00:00
Fixes for gcc
This commit is contained in:
@@ -141,7 +141,7 @@ class IFC_PARSE_API declaration {
|
||||
mutable const schema_definition* schema_;
|
||||
|
||||
std::string& temp_string_() const {
|
||||
static my_thread_local std::string string;
|
||||
static thread_local std::string string;
|
||||
return string;
|
||||
}
|
||||
|
||||
@@ -457,7 +457,7 @@ class IFC_PARSE_API schema_definition {
|
||||
};
|
||||
|
||||
std::string& temp_string_() const {
|
||||
static my_thread_local std::string string;
|
||||
static thread_local std::string string;
|
||||
return string;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user