Changeset 11769


Ignore:
Timestamp:
2006-05-03T16:50:30+12:00 (18 years ago)
Author:
mdewsnip
Message:

A couple of fixes for compiling on Windows.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/src/oaiservr/resumptiontoken.h

    r11732 r11769  
    66#include "text_t.h"
    77
     8// use the standard namespace
     9#if !defined (GSDL_NAMESPACE_BROKEN)
     10#if defined(GSDL_USE_OBJECTSPACE)
     11using namespace ospace::std;
     12#else
    813using namespace std;
     14#endif
     15#endif
    916
    1017class ResumptionToken
     
    2835  int     getPosition() { return startItem; }
    2936  int     getOffsetDepth() { return this->browsePosition.size(); }
    30   int     setOffset(int depth, int position) { this->browsePosition[depth] = position; }
     37  void    setOffset(int depth, int position) { this->browsePosition[depth] = position; }
    3138  int getOffset(int offset) { return this->browsePosition[offset]; }
    3239  bool isValid();
Note: See TracChangeset for help on using the changeset viewer.