src/uuid.cpp

changeset 6
73e448b2943d
parent 5
593a658cba8e
child 7
68443f5be176
--- a/src/uuid.cpp	Thu Oct 03 11:45:44 2019 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,22 +0,0 @@
-#include "uuid.h"
-#include <QIODevice>
-
-void uuidToString(const Uuid &uuid, QTextStream &stream)
-{
-    stream << "0x";
-    stream << QString::number(uuid.a, 16);
-    stream << QString::number(uuid.b, 16);
-}
-
-void incrementUuid(Uuid &uuid)
-{
-    if (uuid.b == std::numeric_limits<decltype(uuid.b)>::max())
-    {
-        uuid.a += 1;
-        uuid.b = 0;
-    }
-    else
-    {
-        uuid.b += 1;
-    }
-}

mercurial