[gnote] Remove boost::format from ISyncManager



commit 8eaff03fb78a2f7420c859c20a8d81116c0f5943
Author: Aurimas Černius <aurisc4 gmail com>
Date:   Fri Jan 13 20:00:45 2017 +0200

    Remove boost::format from ISyncManager

 src/synchronization/isyncmanager.cpp |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/src/synchronization/isyncmanager.cpp b/src/synchronization/isyncmanager.cpp
index 059b042..1f24143 100644
--- a/src/synchronization/isyncmanager.cpp
+++ b/src/synchronization/isyncmanager.cpp
@@ -1,7 +1,7 @@
 /*
  * gnote
  *
- * Copyright (C) 2012-2013 Aurimas Cernius
+ * Copyright (C) 2012-2013,2017 Aurimas Cernius
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -18,8 +18,6 @@
  */
 
 
-#include <boost/format.hpp>
-
 #include "isyncmanager.hpp"
 #include "preferences.hpp"
 #include "sharp/uuid.hpp"
@@ -40,7 +38,7 @@ SyncLockInfo::SyncLockInfo()
 
 std::string SyncLockInfo::hash_string()
 {
-  return str(boost::format("%1%-%2%-%3%-%4%-%5%") % transaction_id % client_id % renew_count % 
duration.string() % revision);
+  return Glib::ustring::compose("%1-%2-%3-%4-%5", transaction_id, client_id, renew_count, duration.string(), 
revision);
 }
 
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]