diff options
author | Ossama Othman <ossama-othman@users.noreply.github.com> | 2005-04-20 17:01:54 +0000 |
---|---|---|
committer | Ossama Othman <ossama-othman@users.noreply.github.com> | 2005-04-20 17:01:54 +0000 |
commit | 46f47d12e434065f8aba2a7ebbadfe58f1c1a251 (patch) | |
tree | a50a2a66c881410dd6858ea503a46929262f6d12 /apps | |
parent | 2c6442e2e31dd9fffee6c4a1b0c05b9eb490da4c (diff) | |
download | ATCD-46f47d12e434065f8aba2a7ebbadfe58f1c1a251.tar.gz |
ChangeLogTag:Wed Apr 20 12:51:17 2005 Ossama Othman <ossama@dre.vanderbilt.edu>
Diffstat (limited to 'apps')
-rw-r--r-- | apps/Gateway/Gateway/File_Parser.cpp | 12 | ||||
-rw-r--r-- | apps/Gateway/Gateway/File_Parser.h | 4 |
2 files changed, 9 insertions, 7 deletions
diff --git a/apps/Gateway/Gateway/File_Parser.cpp b/apps/Gateway/Gateway/File_Parser.cpp index 20e29990ea8..de82ad0ba10 100644 --- a/apps/Gateway/Gateway/File_Parser.cpp +++ b/apps/Gateway/Gateway/File_Parser.cpp @@ -1,26 +1,24 @@ // $Id$ #ifndef FILE_PARSER_C - #define FILE_PARSER_C #include "ace/OS_NS_stdio.h" #include "ace/OS_NS_stdlib.h" -#if !defined (ACE_LACKS_PRAGMA_ONCE) -# pragma once -#endif /* ACE_LACKS_PRAGMA_ONCE */ - #include "File_Parser.h" -ACE_RCSID(Gateway, File_Parser, "$Id$") - // This fixes a nasty bug with cfront-based compilers (like // Centerline). typedef FP::Return_Type FP_RETURN_TYPE; // File_Parser stuff. +template <class ENTRY> +File_Parser<ENTRY>::~File_Parser (void) +{ +} + template <class ENTRY> int File_Parser<ENTRY>::open (const ACE_TCHAR filename[]) { diff --git a/apps/Gateway/Gateway/File_Parser.h b/apps/Gateway/Gateway/File_Parser.h index 1e8dd264809..6e971090ad8 100644 --- a/apps/Gateway/Gateway/File_Parser.h +++ b/apps/Gateway/Gateway/File_Parser.h @@ -46,6 +46,10 @@ class File_Parser // Class used to parse the configuration file for the // <Consumer_Map>. public: + + /// Destructor. + virtual ~File_Parser (void); + // = Open and Close the file specified int open (const ACE_TCHAR filename[]); int close (void); |