actual/packages/node-libofx/OpenSP-1.5.2/lib/Id.cxx
2022-04-28 22:44:38 -04:00

30 lines
446 B
C++

// Copyright (c) 1996 James Clark
// See the file COPYING for copying permission.
#ifdef __GNUG__
#pragma implementation
#endif
#include "splib.h"
#include "Id.h"
#ifdef SP_NAMESPACE
namespace SP_NAMESPACE {
#endif
Id::Id(const StringC &name)
: Named(name)
{
}
void Id::define(const Location &loc)
{
defLocation_ = loc;
// release memory for pendingRefs_
Vector<Location> tem;
pendingRefs_.swap(tem);
}
#ifdef SP_NAMESPACE
}
#endif