From 25a730ed8825dabbef7c54f25cfbc318f87c5e26 Mon Sep 17 00:00:00 2001 From: Jeff Hill Date: Tue, 10 Oct 2000 19:37:40 +0000 Subject: [PATCH] avoid problems with the borland compiler --- src/libCom/cxxTemplates/resourceLib.h | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/src/libCom/cxxTemplates/resourceLib.h b/src/libCom/cxxTemplates/resourceLib.h index 460695931..e65c41bba 100644 --- a/src/libCom/cxxTemplates/resourceLib.h +++ b/src/libCom/cxxTemplates/resourceLib.h @@ -226,7 +226,7 @@ private: #if defined(__GNUC__) && ( __GNUC__<2 || (__GNUC__==2 && __GNUC__<8) ) template #else -template +template #endif class intId { public: @@ -250,11 +250,8 @@ protected: // // NOTE: ITEM must public inherit from chronIntIdRes // -#if defined(__GNUC__) && ( __GNUC__<2 || (__GNUC__==2 && __GNUC__<8) ) -typedef intId chronIntId; -#else -typedef intId chronIntId; -#endif +typedef intId chronIntId; + template class chronIntIdResTable : public resTable { public: