mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 19:07:45 +00:00
Make the constructor of the singleton class LayoutFileList private.
This commit is contained in:
parent
b9fe1dd10b
commit
dd0f71e5fe
@ -90,8 +90,6 @@ private:
|
|||||||
/// via LayoutFileList::get()
|
/// via LayoutFileList::get()
|
||||||
class LayoutFileList {
|
class LayoutFileList {
|
||||||
public:
|
public:
|
||||||
///
|
|
||||||
LayoutFileList() {}
|
|
||||||
///
|
///
|
||||||
~LayoutFileList();
|
~LayoutFileList();
|
||||||
/// \return The sole instance of this class.
|
/// \return The sole instance of this class.
|
||||||
@ -128,6 +126,8 @@ public:
|
|||||||
bool load(std::string const & name, std::string const & buf_path);
|
bool load(std::string const & name, std::string const & buf_path);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
///
|
||||||
|
LayoutFileList() {}
|
||||||
///
|
///
|
||||||
typedef std::map<std::string, LayoutFile *> ClassMap;
|
typedef std::map<std::string, LayoutFile *> ClassMap;
|
||||||
/// noncopyable
|
/// noncopyable
|
||||||
|
Loading…
Reference in New Issue
Block a user