Change RATIONAL_BASE to be inline instead of static

This commit is contained in:
Josh Koon 2019-02-21 22:41:38 -08:00
commit 3e8be642ba

View file

@ -8,7 +8,7 @@ namespace CalcEngine
{
// Default Base/Radix to use for Rational calculations
// RatPack calculations currently support up to Base64.
static constexpr uint32_t RATIONAL_BASE = 10;
inline constexpr uint32_t RATIONAL_BASE = 10;
class Rational
{