Commits

Palmer, 2E0EOL committed 284bea8

Use bool, it's a standard type.

Comments (0)

Files changed (2)

 
 #include "DB.hpp"
 
-int DB::query(const std::string &Query)
+bool DB::query(const std::string &Query)
 {
 	return false; // FIXME: Everything fails.
 }
 
-int DB::is_mock()
+bool DB::is_mock()
 {
 	// This base class is always non-mock, see DBMock for overridden mockery.
 	return false;
 class DB
 {
 private:
-	int dbh, dbh_ro; // Handles to master and slave database
+	bool dbh, dbh_ro; // Handles to master and slave database
 protected:
 public:
-	int is_mock(void);
-	int query(const std::string &Query);
+	bool is_mock(void);
+	bool query(const std::string &Query);
 };