From afc4bdd3beb68d7dd0e7c8043f67fe699f506f15 Mon Sep 17 00:00:00 2001 From: Jeff Hill Date: Fri, 1 Dec 2006 16:34:01 +0000 Subject: [PATCH] fixed comment --- src/libCom/test/epicsExceptionTest.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/libCom/test/epicsExceptionTest.cpp b/src/libCom/test/epicsExceptionTest.cpp index af8a1d2fe..f9d3ab1cd 100644 --- a/src/libCom/test/epicsExceptionTest.cpp +++ b/src/libCom/test/epicsExceptionTest.cpp @@ -37,15 +37,15 @@ const nothrow_t nothrow ; #if defined ( _MSC_VER ) // some interesting bugs found in the MS implementation of new # if _MSC_VER > 1310 /* this gets fixed some release after visual studio 7 we hope */ - static const size_t unsuccessfulNewSize = numeric_limits::max(); + static const size_t unsuccessfulNewSize = numeric_limits < size_t > :: max (); # else - static const size_t unsuccessfulNewSize = numeric_limits::max()-100; + static const size_t unsuccessfulNewSize = numeric_limits < size_t > :: max () - 100; # endif #elif defined(__GNUC__) && (__GNUC__<2 || (__GNUC__==2 && __GNUC_MINOR__<=96)) - // tornado does not supply ansi c++, and malloc(-15) succeeds... + // tornado does not supply ansi c++ static const size_t unsuccessfulNewSize = UINT_MAX - 15u; #else - static const size_t unsuccessfulNewSize = numeric_limits::max(); + static const size_t unsuccessfulNewSize = numeric_limits < size_t > :: max (); #endif class exThread : public epicsThreadRunable {