aboutsummaryrefslogtreecommitdiff
path: root/python/additional_tests.cc
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2009-12-13 19:50:53 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2009-12-13 19:50:53 +0000
commitdee918a74ce99cb059de73f0ea9369cecbdf9567 (patch)
treef2c7f7932ae90ccaeba72d1cc97d59864322c9c2 /python/additional_tests.cc
parenteed895d5762216657d897196cc6dced9a9eb3225 (diff)
downloadpaludis-dee918a74ce99cb059de73f0ea9369cecbdf9567.tar.gz
paludis-dee918a74ce99cb059de73f0ea9369cecbdf9567.tar.xz
Timestamp wrapper class
Diffstat (limited to 'python/additional_tests.cc')
-rw-r--r--python/additional_tests.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/python/additional_tests.cc b/python/additional_tests.cc
index 0219d675b..f1abe0787 100644
--- a/python/additional_tests.cc
+++ b/python/additional_tests.cc
@@ -37,6 +37,7 @@
#include <paludis/formatter.hh>
#include <paludis/stringify_formatter-impl.hh>
#include <paludis/util/clone-impl.hh>
+#include <paludis/util/timestamp.hh>
#include <tr1/memory>
using namespace paludis;
@@ -169,7 +170,7 @@ namespace metadata_key
void test_metadata_time_key(const MetadataTimeKey & m)
{
test_metadata_key(m);
- time_t PALUDIS_ATTRIBUTE((unused)) t(m.value());
+ Timestamp PALUDIS_ATTRIBUTE((unused)) t(m.value());
}
void test_metadata_contents_key(const MetadataValueKey<std::tr1::shared_ptr<const Contents> > & m)