mirror of
https://github.com/tfussell/xlnt.git
synced 2024-03-22 13:11:17 +08:00
another compile error
This commit is contained in:
parent
3a10e661b8
commit
d7603964e9
|
@ -50,11 +50,7 @@ std::string serialize_number_to_string(Number num)
|
||||||
template <typename Number>
|
template <typename Number>
|
||||||
constexpr Number abs(Number val)
|
constexpr Number abs(Number val)
|
||||||
{
|
{
|
||||||
if (val < Number{0})
|
return (val < Number{0}) ? -val : val;
|
||||||
{
|
|
||||||
return -val;
|
|
||||||
}
|
|
||||||
return val;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user