Commits

Palmer, 2E0EOL  committed 7d1bf58

You should derive from DB in order to change the name associated with the class.
So make the modification member function protected.

  • Participants
  • Parent commits 7528526

Comments (0)

Files changed (1)

 	bool dbh, dbh_ro; // Handles to master and slave database
 protected:
 	std::string tag; // Human-facing 'name' for the database (no real effect)
+	const std::string &name(const std::string &NewName);
 public:
 	DB(void);
 	bool is_mock(void);
 	bool query(const std::string &Query);
-	const std::string &name(const std::string &NewName);
 	const std::string &name(void);
 };