X-Git-Url: http://git.kpe.io/?p=ctsim.git;a=blobdiff_plain;f=libctsim%2Ftrace.cpp;h=dced2c66cd9dd4d3bdb40b145730f804b6c5fa54;hp=3bb8ce8ca6a6b997fce31b002be2edd97902b92d;hb=1e88cf0f7fa4f690ea9f110e8ed3f2b5338d0a10;hpb=74a34e63a9a356e1467acdba65497ab15190dde0 diff --git a/libctsim/trace.cpp b/libctsim/trace.cpp index 3bb8ce8..dced2c6 100644 --- a/libctsim/trace.cpp +++ b/libctsim/trace.cpp @@ -8,7 +8,7 @@ ** This is part of the CTSim program ** Copyright (C) 1983-2000 Kevin Rosenberg ** -** $Id: trace.cpp,v 1.1 2000/07/20 11:17:31 kevin Exp $ +** $Id: trace.cpp,v 1.2 2000/08/25 15:59:13 kevin Exp $ ** ** This program is free software; you can redistribute it and/or modify ** it under the terms of the GNU General Public License (version 2) as @@ -34,10 +34,10 @@ const char TraceLevel::TRACE_PLOT_STR[]= "plot"; const char TraceLevel::TRACE_CLIPPING_STR[]= "clipping"; -TraceID +int TraceLevel::convertTraceNameToID (const char *traceString) { - TraceID traceID = TRACE_INVALID; + int traceID = TRACE_INVALID; if (strcasecmp (traceString, TRACE_NONE_STR) == 0) traceID = TRACE_NONE;