mirror of
https://github.com/ChaiScript/ChaiScript.git
synced 2025-12-07 01:06:54 +08:00
Removed constexpr for Visual Studio compilation. Xcode (LLVM) works with constexpr on the before function, but Visual Studio (2015) does not.
This commit is contained in:
parent
2dbfdfe111
commit
0ad4f83366
@ -46,7 +46,7 @@ namespace chaiscript
|
|||||||
|
|
||||||
constexpr Type_Info() = default;
|
constexpr Type_Info() = default;
|
||||||
|
|
||||||
constexpr bool operator<(const Type_Info &ti) const noexcept
|
bool operator<(const Type_Info &ti) const noexcept
|
||||||
{
|
{
|
||||||
return m_type_info->before(*ti.m_type_info);
|
return m_type_info->before(*ti.m_type_info);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user