Make the constructor of the singleton class LayoutFileList private.

This commit is contained in:
Richard Heck 2014-08-12 12:49:17 -04:00
parent b9fe1dd10b
commit dd0f71e5fe

View File

@ -90,8 +90,6 @@ private:
/// via LayoutFileList::get()
class LayoutFileList {
public:
///
LayoutFileList() {}
///
~LayoutFileList();
/// \return The sole instance of this class.
@ -128,6 +126,8 @@ public:
bool load(std::string const & name, std::string const & buf_path);
private:
///
LayoutFileList() {}
///
typedef std::map<std::string, LayoutFile *> ClassMap;
/// noncopyable