From 2e11dc75d4e7c3bec8fe6ce4edc704ea5592940b Mon Sep 17 00:00:00 2001 From: Antony Polukhin Date: Mon, 14 Apr 2014 18:00:01 +0400 Subject: [PATCH] Fix a typo --- include/boost/type_index/stl_type_index.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/boost/type_index/stl_type_index.hpp b/include/boost/type_index/stl_type_index.hpp index eabe366..9109a43 100644 --- a/include/boost/type_index/stl_type_index.hpp +++ b/include/boost/type_index/stl_type_index.hpp @@ -250,8 +250,9 @@ template inline stl_type_index stl_type_index::type_id_runtime(const T& value) BOOST_NOEXCEPT { #ifdef BOOST_NO_RTTI return value.type_id_runtime(); -#endif +#else return typeid(value); +#endif } }} // namespace boost::typeind