aboutsummaryrefslogtreecommitdiff
path: root/src/Channel.cpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2018-10-21 14:40:36 +0200
committerdec05eba <dec05eba@protonmail.com>2018-10-21 14:40:39 +0200
commit6d00a0dd54d7ac563574a583929c2e99a17a6ae7 (patch)
treea355af6a9a8b4de083d63ca152cd6f6ede8270ac /src/Channel.cpp
parent997f700f174596a915a0a9d6603a1c79a4490f6b (diff)
Fix for odhtdb changes
Diffstat (limited to 'src/Channel.cpp')
-rw-r--r--src/Channel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Channel.cpp b/src/Channel.cpp
index 501e5bc..6107a22 100644
--- a/src/Channel.cpp
+++ b/src/Channel.cpp
@@ -10,7 +10,7 @@ namespace dchat
{
static Channel *currentChannel;
- Channel::Channel(const string &_name, const odhtdb::DatabaseNode &_databaseNodeInfo, User *_localUser, odhtdb::Database *_database) :
+ Channel::Channel(const string &_name, const odhtdb::DatabaseNode &_databaseNodeInfo, User *_localUser, std::shared_ptr<odhtdb::Database> _database) :
database(_database),
databaseNodeInfo(_databaseNodeInfo),
name(_name),