From 6e4ed25d40d187aa566f68c05fd43bc17f50fde2 Mon Sep 17 00:00:00 2001 From: Tomas Oberhuber <tomas.oberhuber@fjfi.cvut.cz> Date: Tue, 4 Dec 2018 10:37:06 +0100 Subject: [PATCH] Fixed unclosed comment in Assert.h Added examples to CMakeList.txt. --- src/Examples/CMakeLists.txt | 6 ++++++ src/TNL/Assert.h | 1 + 2 files changed, 7 insertions(+) diff --git a/src/Examples/CMakeLists.txt b/src/Examples/CMakeLists.txt index b8e7c574a5..f158363440 100644 --- a/src/Examples/CMakeLists.txt +++ b/src/Examples/CMakeLists.txt @@ -24,5 +24,11 @@ target_link_libraries( FileExample tnl ) ADD_EXECUTABLE( StringExample StringExample.cpp ) target_link_libraries( StringExample tnl ) +ADD_EXECUTABLE( StringExampleGetSize StringExampleGetSize.cpp ) +target_link_libraries( StringExampleGetSize tnl ) + +ADD_EXECUTABLE( StringExampleGetAllocatedSize StringExampleGetAllocatedSize.cpp ) +target_link_libraries( StringExampleGetAllocatedSize tnl ) + ADD_EXECUTABLE( TimerExample TimerExample.cpp ) target_link_libraries( TimerExample tnl ) \ No newline at end of file diff --git a/src/TNL/Assert.h b/src/TNL/Assert.h index dabd69a973..d601f9c1b9 100644 --- a/src/TNL/Assert.h +++ b/src/TNL/Assert.h @@ -103,6 +103,7 @@ * The assertion succeeds if, and only if, ___tnl__assert_condition is valid. * On success the test continues without any side effects. * On failure the test is terminated with the error message \e ___tnl__assert_command. + */ #define TNL_ASSERT( ___tnl__assert_condition, ___tnl__assert_command ) #else /* #ifdef NDEBUG */ -- GitLab