mirror of
https://github.com/bolero-MURAKAMI/Sprout.git
synced 2024-12-23 21:25:49 +00:00
fix for clang3.4
This commit is contained in:
parent
af24ef48a9
commit
2993b4d53e
1 changed files with 4 additions and 2 deletions
|
@ -698,9 +698,11 @@ namespace sprout {
|
||||||
}
|
}
|
||||||
|
|
||||||
SPROUT_CXX14_CONSTEXPR word_type&
|
SPROUT_CXX14_CONSTEXPR word_type&
|
||||||
getword(std::size_t) SPROUT_NOEXCEPT {
|
getword(std::size_t, bool c = false) SPROUT_NOEXCEPT {
|
||||||
typedef word_type* type;
|
typedef word_type* type;
|
||||||
return throw std::out_of_range("base_bitset::getword"), *type();
|
return !c ? *type()
|
||||||
|
: throw std::out_of_range("base_bitset::getword"), *type()
|
||||||
|
;
|
||||||
}
|
}
|
||||||
SPROUT_CONSTEXPR word_type
|
SPROUT_CONSTEXPR word_type
|
||||||
getword(std::size_t) const SPROUT_NOEXCEPT {
|
getword(std::size_t) const SPROUT_NOEXCEPT {
|
||||||
|
|
Loading…
Reference in a new issue