diff options
Diffstat (limited to 'core/opt_traits.hpp')
-rw-r--r-- | core/opt_traits.hpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/core/opt_traits.hpp b/core/opt_traits.hpp index c539a63..94b77a8 100644 --- a/core/opt_traits.hpp +++ b/core/opt_traits.hpp @@ -27,7 +27,9 @@ namespace opt_utilities }; template <typename T> - inline typename return_type_trait<typename element_type_trait<T>::element_type>::const_reference_type get_element(const T& x,size_t i) + inline typename + return_type_trait<typename element_type_trait<T>::element_type>:: + const_reference_type get_element(const T& x,size_t i) { return x[i]; } |