mirror of
https://github.com/ChaiScript/ChaiScript.git
synced 2026-02-07 18:26:49 +08:00
Compliateion errors with older compilers fixed
This commit is contained in:
parent
9e6dbbf06d
commit
d123e477db
@ -500,8 +500,8 @@ namespace chaiscript
|
|||||||
std::set<std::shared_ptr<detail::Type_Conversion_Base>> m_conversions;
|
std::set<std::shared_ptr<detail::Type_Conversion_Base>> m_conversions;
|
||||||
std::set<const std::type_info *, Less_Than> m_convertableTypes;
|
std::set<const std::type_info *, Less_Than> m_convertableTypes;
|
||||||
std::atomic_size_t m_num_types;
|
std::atomic_size_t m_num_types;
|
||||||
mutable chaiscript::detail::threading::Thread_Storage<std::set<const std::type_info *, Less_Than>> m_thread_cache{};
|
mutable chaiscript::detail::threading::Thread_Storage<std::set<const std::type_info *, Less_Than>> m_thread_cache;
|
||||||
mutable chaiscript::detail::threading::Thread_Storage<Conversion_Saves> m_conversion_saves{};
|
mutable chaiscript::detail::threading::Thread_Storage<Conversion_Saves> m_conversion_saves;
|
||||||
};
|
};
|
||||||
|
|
||||||
class Type_Conversions_State
|
class Type_Conversions_State
|
||||||
|
|||||||
@ -30,7 +30,12 @@ namespace chaiscript
|
|||||||
DLModule(const DLModule &) = delete;
|
DLModule(const DLModule &) = delete;
|
||||||
DLModule &operator=(const DLModule &) = delete;
|
DLModule &operator=(const DLModule &) = delete;
|
||||||
|
|
||||||
~DLModule() = default;
|
~DLModule()
|
||||||
|
{
|
||||||
|
|
||||||
|
dlclose(m_data);
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
void *m_data{};
|
void *m_data{};
|
||||||
};
|
};
|
||||||
@ -57,7 +62,7 @@ namespace chaiscript
|
|||||||
}
|
}
|
||||||
|
|
||||||
DLModule m_dlmodule;
|
DLModule m_dlmodule;
|
||||||
DLSym<Create_Module_Func> m_func{};
|
DLSym<Create_Module_Func> m_func;
|
||||||
ModulePtr m_moduleptr{};
|
ModulePtr m_moduleptr{};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@ -77,8 +77,7 @@ int to_int(TestEnum t)
|
|||||||
|
|
||||||
class TestDerivedType : public TestBaseType
|
class TestDerivedType : public TestBaseType
|
||||||
{
|
{
|
||||||
;
|
public:
|
||||||
public:
|
|
||||||
virtual ~TestDerivedType() = default;
|
virtual ~TestDerivedType() = default;
|
||||||
TestDerivedType(const TestDerivedType &) = default;
|
TestDerivedType(const TestDerivedType &) = default;
|
||||||
TestDerivedType() = default;
|
TestDerivedType() = default;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user