Procházet zdrojové kódy

* Fixed compiler error in flags::empty()

master
bergmann před 6 roky
rodič
revize
a6d6ca4170
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. +2
    -2
      include/cppcore/misc/flags.inl

+ 2
- 2
include/cppcore/misc/flags.inl Zobrazit soubor

@@ -181,7 +181,7 @@ namespace cppcore
const flags<T_enum, T_base, T_op>& flags<T_enum, T_base, T_op>
::empty()
{
const flags value(0);
static const flags value(0);
return value;
}

@@ -189,7 +189,7 @@ namespace cppcore
const flags<T_enum, T_base, T_op>& flags<T_enum, T_base, T_op>
::all()
{
const flags value(std::numeric_limits<base_type>::max());
static const flags value(std::numeric_limits<base_type>::max());
return value;
}



Načítá se…
Zrušit
Uložit