move parser/utils to utils, Mux->Mu

Move the parser utils to utils/ and rename the Mux namespace into Mu.
This commit is contained in:
Dirk-Jan C. Binnema
2019-12-16 22:41:17 +02:00
parent b55e191421
commit 9f93526884
24 changed files with 165 additions and 157 deletions

View File

@ -26,7 +26,7 @@
#include <functional>
#include <algorithm>
#include <parser/utils.hh>
#include <utils/mu-utils.hh>
#include <glib.h>
using namespace Mu;
@ -117,7 +117,7 @@ Contacts::Private::deserialize(const std::string& serialized) const
while (getline (ss, line)) {
const auto parts = Mux::split (line, Separator);
const auto parts = Mu::split (line, Separator);
if (G_UNLIKELY(parts.size() != 6)) {
g_warning ("error: '%s'", line.c_str());
continue;
@ -152,7 +152,7 @@ Contacts::serialize() const
for (auto& item: priv_->contacts_) {
const auto& ci{item.second};
s += Mux::format("%s%s"
s += Mu::format("%s%s"
"%s%s"
"%s%s"
"%d%s"