Changeset 18875

Show
Ignore:
Timestamp:
02.04.2009 17:29:57 (10 years ago)
Author:
ak19
Message:

1. Dr Bainbridge added in virtual destructors and a semi-colon at the end of a function signature was removed in order to remove a compilation error about the virtual table (undefined reference to vtable). 2. The oaiconfig variable in metaformat.h has been set to NULL in the destructor. Hopefully something else is deleting it.

Location:
gsdl/trunk/runtime-src/src/oaiservr
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • gsdl/trunk/runtime-src/src/oaiservr/metaformat.h

    r10738 r18875  
    3737  void    set_configuration(oaiconfig *config) { this->oaiConfigure = config; } 
    3838  text_t  get_mapping(const text_t &collection, const text_t &collectionField); 
    39  
     39  virtual ~metaformat() { this->oaiConfigure = NULL; } 
    4040}; 
    4141 
  • gsdl/trunk/runtime-src/src/oaiservr/qualified_dublincore.h

    r18858 r18875  
    77  virtual void output_metadata_footer(ostream &output); 
    88 public: 
    9   qualified_dublin_core() : metaformat(){}; 
     9  qualified_dublin_core() : metaformat(){} 
    1010  virtual const text_t formatName(); 
    1111  virtual const text_t formatPrefix(); 
     
    1313                 const text_t &record_OID); 
    1414  virtual bool output_formatdata(ostream &output); 
     15  virtual ~qualified_dublin_core() {} 
    1516}; 
    1617