From c097e8d4a0d69abcf28e421edc57e11f54040bae Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Mon, 12 Oct 2015 21:30:55 +0100 Subject: Remove unused helpers --- slicer/db/testSelect.cpp | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/slicer/db/testSelect.cpp b/slicer/db/testSelect.cpp index 29ea5bc..7540529 100644 --- a/slicer/db/testSelect.cpp +++ b/slicer/db/testSelect.cpp @@ -20,18 +20,6 @@ BOOST_GLOBAL_FIXTURE( StandardMockDatabase ); typedef boost::shared_ptr DBPtr; typedef boost::shared_ptr SelectPtr; -boost::posix_time::ptime -mkDateTime(short y, short m, short d, short h, short M, short s) -{ - return boost::posix_time::ptime(boost::gregorian::date(y, m, d), boost::posix_time::time_duration(h, M, s)); -} - -boost::posix_time::time_duration -mkTimespan(short d, short h, short M, short s) -{ - return boost::posix_time::time_duration((d * 24) + h, M, s); -} - BOOST_AUTO_TEST_CASE( select_simple_int ) { auto db = DBPtr(DB::MockDatabase::openConnectionTo("pqmock")); -- cgit v1.2.3