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:
Stephen Berry 2018-02-15 09:08:22 -06:00
parent 2dbfdfe111
commit 0ad4f83366

View File

@ -46,7 +46,7 @@ namespace chaiscript
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);
}