class Object
{
private:
- File &file;
+ const File &file;
std::string name;
std::string keyword;
public:
- Object(File &, const std::string &, const std::string &);
+ Object(const File &, const std::string &, const std::string &);
- File &get_file() const { return file; }
+ const File &get_file() const { return file; }
const std::string &get_name() const { return name; }
const std::string &get_keyword() const { return keyword; }
};