Skip to content
Snippets Groups Projects
Commit b0ec8f2c authored by Jakub Klinkovský's avatar Jakub Klinkovský
Browse files

Added missing include of Math.h to List_impl.h

parent 68d411cf
No related branches found
No related tags found
No related merge requests found
......@@ -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 )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment