summaryrefslogtreecommitdiff
path: root/include/server.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/server.h')
-rw-r--r--include/server.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/server.h b/include/server.h
index 10be258..d06b11a 100644
--- a/include/server.h
+++ b/include/server.h
@@ -69,7 +69,7 @@ public:
const cWebserver& GetWebserver() const { return *mWebserver; }
cMediaManager& GetManager() const { return *mMediaManager; }
- tntdb::Connection& GetDatabase() const { return mConnection; }
+ tntdb::Connection GetDatabase() const { return mConnection; }
const string GetDeviceUUID() const { return string("uuid:") + mCurrentConfiguration.deviceUUID; }