Made constructor private.

This commit is contained in:
Patrick Lühne 2016-05-21 00:22:23 +02:00
parent a3e946fec8
commit c8aa4d0178

View File

@ -29,8 +29,6 @@ class Description
static Description fromFile(const boost::filesystem::path &path); static Description fromFile(const boost::filesystem::path &path);
public: public:
Description();
bool usesActionCosts() const; bool usesActionCosts() const;
const std::vector<Variable> &variables() const; const std::vector<Variable> &variables() const;
const std::vector<MutexGroup> &mutexGroups() const; const std::vector<MutexGroup> &mutexGroups() const;
@ -42,6 +40,8 @@ class Description
void print(std::ostream &ostream) const; void print(std::ostream &ostream) const;
private: private:
Description();
void parseSectionIdentifier(std::istream &istream, const std::string &expectedSectionIdentifier) const; void parseSectionIdentifier(std::istream &istream, const std::string &expectedSectionIdentifier) const;
template<class T> template<class T>