From b0ec8f2cf7e16a9ef2ec34d80d23827b44a2844a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Klinkovsk=C3=BD?= <klinkjak@fjfi.cvut.cz> Date: Sun, 20 Nov 2016 14:57:02 +0100 Subject: [PATCH] Added missing include of Math.h to List_impl.h --- src/TNL/Containers/List_impl.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/TNL/Containers/List_impl.h b/src/TNL/Containers/List_impl.h index 30634a8104..f237f3b5ca 100644 --- a/src/TNL/Containers/List_impl.h +++ b/src/TNL/Containers/List_impl.h @@ -11,6 +11,7 @@ #pragma once #include <TNL/Containers/List.h> +#include <TNL/Math.h> namespace TNL { namespace Containers { @@ -56,7 +57,7 @@ template< typename T > T& List< T >::operator[]( const int& ind ) { Assert( ind < size, ); - int iter_dist = abs( index - ind ); + int iter_dist = TNL::abs( index - ind ); if( ! iterator || iter_dist > ind || iter_dist > size - ind ) -- GitLab