summaryrefslogtreecommitdiff
path: root/p2pvr/daemon
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2019-04-03 18:04:24 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2019-04-03 18:04:24 +0100
commit2619477d903d7bd83e0ecb0c00b94f4b1a85c325 (patch)
treec740c93177bb73424ff729e473570af10c350e4e /p2pvr/daemon
parentRemove boost::filesystem in favour of std::filesystem (diff)
downloadp2pvr-2619477d903d7bd83e0ecb0c00b94f4b1a85c325.tar.bz2
p2pvr-2619477d903d7bd83e0ecb0c00b94f4b1a85c325.tar.xz
p2pvr-2619477d903d7bd83e0ecb0c00b94f4b1a85c325.zip
Update to use traits DB binder for Chrono::DateTimep2pvr-0.3.3.1
Diffstat (limited to 'p2pvr/daemon')
-rw-r--r--p2pvr/daemon/icetraySupport.cpp4
-rw-r--r--p2pvr/daemon/icetraySupport.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/p2pvr/daemon/icetraySupport.cpp b/p2pvr/daemon/icetraySupport.cpp
index 646896f..42cee3b 100644
--- a/p2pvr/daemon/icetraySupport.cpp
+++ b/p2pvr/daemon/icetraySupport.cpp
@@ -3,8 +3,8 @@
template<>
void
-IceTray::AbstractDatabaseClient::bind1<Chrono::DateTime>(int x, DB::Command * cmd, const Chrono::DateTime & dt)
+DB::Command::bindParam(unsigned int x, const Chrono::DateTime & dt)
{
- cmd->bindParamT(x, *dt);
+ this->bindParamT(x, *dt);
}
diff --git a/p2pvr/daemon/icetraySupport.h b/p2pvr/daemon/icetraySupport.h
index c9b633b..191b9d2 100644
--- a/p2pvr/daemon/icetraySupport.h
+++ b/p2pvr/daemon/icetraySupport.h
@@ -4,10 +4,10 @@
#include <abstractDatabaseClient.h>
#include <chrono.h>
-namespace IceTray {
+namespace DB {
template<>
void
- AbstractDatabaseClient::bind1<Chrono::DateTime>(int x, DB::Command * cmd, const Chrono::DateTime &);
+ Command::bindParam(unsigned int x, const Chrono::DateTime &);
}
namespace std {