Skip to content

Commit

Permalink
FIX: copile error using C++-17
Browse files Browse the repository at this point in the history
git-svn-id: https://www.nitrc.org/svn/cmtk/trunk@5443 42a5c34f-2066-0410-bec5-ba365beb4995
  • Loading branch information
torstenrohlfing committed Mar 27, 2021
1 parent c481a07 commit f068b48
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions core/CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
Release CMTK-3.3.1p2 (2021-03-27):

(r5443) Fixed: compilation errors using C++17.

Release CMTK-3.3.1p1 (2019-01-24):

(r5440) Fixed: compilation error when building with DCMTK 3.6.4.
Expand Down
2 changes: 1 addition & 1 deletion core/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ SET(CMAKE_OVERRIDE_COMPILER_MISMATCH 1)
PROJECT(CMTK)
SET(CMTK_VERSION_MAJOR "3")
SET(CMTK_VERSION_MINOR "3")
SET(CMTK_VERSION_PATCH "1p1")
SET(CMTK_VERSION_PATCH "1p2")

SET(CMTK_VERSION_STRING "${CMTK_VERSION_MAJOR}.${CMTK_VERSION_MINOR}.${CMTK_VERSION_PATCH}")

Expand Down
2 changes: 1 addition & 1 deletion core/libs/System/cmtkCommandLine.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ ::EndGroup()
}

bool
CommandLine::Parse( const int argc, const char* argv[] ) throw( ExitException, Self::Exception )
CommandLine::Parse( const int argc, const char* argv[] )
{
this->ArgC = argc;
this->ArgV = argv;
Expand Down
2 changes: 1 addition & 1 deletion core/libs/System/cmtkCommandLine.h
Original file line number Diff line number Diff line change
Expand Up @@ -1175,7 +1175,7 @@ class CommandLine :
void EndGroup();

/// Parse command line.
bool Parse( const int argc, const char* argv[] ) throw( ExitException, Self::Exception );
bool Parse( const int argc, const char* argv[] );

/// Help text indentation.
static const int HelpTextIndent = 10;
Expand Down

0 comments on commit f068b48

Please sign in to comment.