소스 검색

* Fixed compiler error in flags::empty()

master
bergmann 6 년 전
부모
커밋
a6d6ca4170
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. +2
    -2
      include/cppcore/misc/flags.inl

+ 2
- 2
include/cppcore/misc/flags.inl 파일 보기

@@ -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;
}



불러오는 중...
취소
저장