///
typedef std::string base_type;
///
- LayoutFileIndex(base_type t) { data_ = t; }
+ LayoutFileIndex(base_type const & t) : data_(t) { }
///
operator base_type() const { return data_; }
///
/// LayoutFileList, which calls the private constructor.
friend class LayoutFileList;
/// can't create empty LayoutFile
- LayoutFile() {};
+ LayoutFile() {}
};
/// via LayoutFileList::get()
class LayoutFileList {
public:
- ///
- LayoutFileList() {}
///
~LayoutFileList();
/// \return The sole instance of this class.
bool load(std::string const & name, std::string const & buf_path);
private:
+ ///
+ LayoutFileList() {}
///
typedef std::map<std::string, LayoutFile *> ClassMap;
/// noncopyable