summaryrefslogtreecommitdiff
path: root/server/src/queryhandlerpracro.h
diff options
context:
space:
mode:
authordeva <deva>2009-07-29 07:25:25 +0000
committerdeva <deva>2009-07-29 07:25:25 +0000
commitab96caac3c631ca452b21a0529372f1165638002 (patch)
tree40c385fde66904abf19555df375b5c88f0efe633 /server/src/queryhandlerpracro.h
parent2da1fd29b11d9b069d7783a37e2718023850462b (diff)
Split up commits and requests to seperate functions. Changed Database * to Database &
Diffstat (limited to 'server/src/queryhandlerpracro.h')
-rw-r--r--server/src/queryhandlerpracro.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/src/queryhandlerpracro.h b/server/src/queryhandlerpracro.h
index 73802f0..bdb85db 100644
--- a/server/src/queryhandlerpracro.h
+++ b/server/src/queryhandlerpracro.h
@@ -41,14 +41,14 @@
*/
class QueryHandlerPracro : public QueryHandler {
public:
- QueryHandlerPracro(Database *db, std::string cpr);
+ QueryHandlerPracro(Database &db, std::string cpr);
~QueryHandlerPracro() {}
// Execute all queries.
QueryResult exec(Query &query);
private:
- Database *db;
+ Database &db;
std::string cpr;
};