From 9c37deb7d734ae700308f0a80e1c3a9d3f5da2ca Mon Sep 17 00:00:00 2001 From: bolero-MURAKAMI Date: Mon, 11 Nov 2013 10:32:10 +0900 Subject: [PATCH] fix for clang3.4 --- sprout/bitset/bitset.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sprout/bitset/bitset.hpp b/sprout/bitset/bitset.hpp index b118493c..4de9063e 100644 --- a/sprout/bitset/bitset.hpp +++ b/sprout/bitset/bitset.hpp @@ -697,11 +697,11 @@ namespace sprout { return *this; } - SPROUT_CXX14_CONSTEXPR word_type& + SPROUT_CXX14_CONSTEXPR word_type getword(std::size_t, bool c = false) SPROUT_NOEXCEPT { - typedef word_type* type; - return !c ? *type() - : throw std::out_of_range("base_bitset::getword"), *type() +// typedef word_type* type; + return !c ? 0 + : throw std::out_of_range("base_bitset::getword"), 0 ; } SPROUT_CONSTEXPR word_type