From 6b34be6adb81ad90b0bf0da0f9c822966e66a314 Mon Sep 17 00:00:00 2001 From: astrojhgu Date: Sat, 4 Apr 2009 16:28:35 +0000 Subject: git-svn-id: file:///home/svn/opt_utilities@15 ed2142bd-67ad-457f-ba7c-d818d4011675 --- core/opt_traits.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 - inline typename return_type_trait::element_type>::const_reference_type get_element(const T& x,size_t i) + inline typename + return_type_trait::element_type>:: + const_reference_type get_element(const T& x,size_t i) { return x[i]; } -- cgit v1.2.2