summaryrefslogtreecommitdiff
path: root/src/components/policy/policy_regular/src/sql_pt_representation.cc
diff options
context:
space:
mode:
authorConlain Kelly <conlain.k@gmail.com>2018-06-18 11:43:53 -0400
committerConlain Kelly <conlain.k@gmail.com>2018-06-18 11:43:53 -0400
commitccf9073578e5c43f99ca9c8db09a15382129e0bd (patch)
tree1827a599b8ee1f326013ecc017a110d33fbc43a3 /src/components/policy/policy_regular/src/sql_pt_representation.cc
parent0dec6ef21fdfd752e33b0364c9e50d27c736371e (diff)
downloadsdl_core-ccf9073578e5c43f99ca9c8db09a15382129e0bd.tar.gz
remove struct timeval and use boost time_duration instead
also cleans up date_time namespacing but maintains helper functions
Diffstat (limited to 'src/components/policy/policy_regular/src/sql_pt_representation.cc')
-rw-r--r--src/components/policy/policy_regular/src/sql_pt_representation.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/policy/policy_regular/src/sql_pt_representation.cc b/src/components/policy/policy_regular/src/sql_pt_representation.cc
index a57230aeb1..043a5e54d4 100644
--- a/src/components/policy/policy_regular/src/sql_pt_representation.cc
+++ b/src/components/policy/policy_regular/src/sql_pt_representation.cc
@@ -187,10 +187,10 @@ int SQLPTRepresentation::TimeoutResponse() {
utils::dbms::SQLQuery query(db());
if (!query.Prepare(sql_pt::kSelectTimeoutResponse) || !query.Exec()) {
LOG4CXX_INFO(logger_, "Can not select timeout response for retry sequence");
- const int defaultTimeout = 30 * date_time::DateTime::MILLISECONDS_IN_SECOND;
+ const int defaultTimeout = 30 * date_time::MILLISECONDS_IN_SECOND;
return defaultTimeout;
}
- return query.GetInteger(0) * date_time::DateTime::MILLISECONDS_IN_SECOND;
+ return query.GetInteger(0) * date_time::MILLISECONDS_IN_SECOND;
}
bool SQLPTRepresentation::SecondsBetweenRetries(std::vector<int>* seconds) {