summaryrefslogtreecommitdiffstats
path: root/util/generic/guid.h
diff options
context:
space:
mode:
authorf0b0s <[email protected]>2022-02-10 16:46:51 +0300
committerDaniil Cherednik <[email protected]>2022-02-10 16:46:51 +0300
commitcdae02d225fb5b3afbb28990e79a7ac6c9125327 (patch)
tree49e222ea1c5804306084bb3ae065bb702625360f /util/generic/guid.h
parentdeabc5260ac2e17b8f5152ee060bec1740613540 (diff)
Restoring authorship annotation for <[email protected]>. Commit 2 of 2.
Diffstat (limited to 'util/generic/guid.h')
-rw-r--r--util/generic/guid.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/util/generic/guid.h b/util/generic/guid.h
index eef29378488..2bf6c8ad99c 100644
--- a/util/generic/guid.h
+++ b/util/generic/guid.h
@@ -2,7 +2,7 @@
#include "fwd.h"
-#include <util/str_stl.h>
+#include <util/str_stl.h>
/**
* UUID generation
@@ -58,13 +58,13 @@ struct TGUIDHash {
}
};
-template <>
+template <>
struct THash<TGUID> {
constexpr size_t operator()(const TGUID& g) const noexcept {
- return (unsigned int)TGUIDHash()(g);
- }
-};
-
+ return (unsigned int)TGUIDHash()(g);
+ }
+};
+
void CreateGuid(TGUID* res);
TString GetGuidAsString(const TGUID& g);
TString CreateGuidAsString();