mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-10 06:39:49 +00:00
67bd6cd708
git ls-files -z | xargs -0 sed -i '1{/^$/d}'
22 lines
508 B
C++
22 lines
508 B
C++
#include "creator.hpp"
|
|
|
|
#include <stdexcept>
|
|
|
|
CSVWorld::Creator::~Creator() {}
|
|
|
|
void CSVWorld::Creator::setScope (unsigned int scope)
|
|
{
|
|
if (scope!=CSMWorld::Scope_Content)
|
|
throw std::logic_error ("Invalid scope in creator");
|
|
}
|
|
|
|
|
|
CSVWorld::CreatorFactoryBase::~CreatorFactoryBase() {}
|
|
|
|
|
|
CSVWorld::Creator *CSVWorld::NullCreatorFactory::makeCreator (CSMDoc::Document& document,
|
|
const CSMWorld::UniversalId& id) const
|
|
{
|
|
return 0;
|
|
}
|