diff options
Diffstat (limited to 'zen/guid.h')
-rwxr-xr-x | zen/guid.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -20,11 +20,11 @@ namespace zen inline std::string generateGUID() //creates a 16-byte GUID { - //perf: generator: 0.38ms per creation; - // retrieve GUID: 0.13µs per call + //perf: generator: 0.38ms per creation; + // retrieve GUID: 0.13µs per call //generator is only thread-safe like an int => keep thread-local thread_local boost::uuids::random_generator gen; - const boost::uuids::uuid nativeRep = gen(); + const boost::uuids::uuid nativeRep = gen(); return std::string(nativeRep.begin(), nativeRep.end()); } } |