diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2019-04-03 18:04:24 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2019-04-03 18:04:24 +0100 |
commit | 2619477d903d7bd83e0ecb0c00b94f4b1a85c325 (patch) | |
tree | c740c93177bb73424ff729e473570af10c350e4e | |
parent | Remove boost::filesystem in favour of std::filesystem (diff) | |
download | p2pvr-2619477d903d7bd83e0ecb0c00b94f4b1a85c325.tar.bz2 p2pvr-2619477d903d7bd83e0ecb0c00b94f4b1a85c325.tar.xz p2pvr-2619477d903d7bd83e0ecb0c00b94f4b1a85c325.zip |
Update to use traits DB binder for Chrono::DateTimep2pvr-0.3.3.1
-rw-r--r-- | p2pvr/daemon/icetraySupport.cpp | 4 | ||||
-rw-r--r-- | p2pvr/daemon/icetraySupport.h | 4 |
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 { |