From 33a5ca9a670b38a9edcc034b026e622a642c6f7f Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Wed, 23 Jan 2019 05:34:37 +0100 Subject: Timestamp: Switch to std::shared_ptr. --- src/document-undo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/document-undo.cpp') diff --git a/src/document-undo.cpp b/src/document-undo.cpp index 23650dc9c..8284dac55 100644 --- a/src/document-undo.cpp +++ b/src/document-undo.cpp @@ -109,7 +109,7 @@ public: CommitEvent(SPDocument *doc, const gchar *key, const unsigned int type) : InteractionEvent("commit") { - _addProperty("timestamp", timestamp().pointer()); + _addProperty("timestamp", timestamp()); _addProperty("document", doc->serial()); Verb *verb = Verb::get(type); if (verb) { -- cgit v1.2.3