mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +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()
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user