Skip to content

Commit

Permalink
fix return types
Browse files Browse the repository at this point in the history
  • Loading branch information
artemp committed May 5, 2014
1 parent e481fdb commit b41b4f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions variant.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -380,12 +380,12 @@ class variant
}

template<typename T>
VARIANT_INLINE void is() const
VARIANT_INLINE bool is() const
{
return (type_id == detail::type_traits<T, Types...>::id);
}

VARIANT_INLINE void valid() const
VARIANT_INLINE bool valid() const
{
return (type_id != detail::invalid_value);
}
Expand Down

0 comments on commit b41b4f6

Please sign in to comment.