diff options
| author | Stefan Boberg <[email protected]> | 2021-09-16 15:46:43 +0200 |
|---|---|---|
| committer | Stefan Boberg <[email protected]> | 2021-09-16 15:47:56 +0200 |
| commit | c3a7f98683d8c017f6a0dc3e884f2397670563e6 (patch) | |
| tree | 37bc2bc7255f913bd52fc9ed3103138e8c594bfc /zencore/session.cpp | |
| parent | Improved package serialization to allow round tripping (diff) | |
| download | zen-c3a7f98683d8c017f6a0dc3e884f2397670563e6.tar.xz zen-c3a7f98683d8c017f6a0dc3e884f2397670563e6.zip | |
clang-format fixes
Diffstat (limited to 'zencore/session.cpp')
| -rw-r--r-- | zencore/session.cpp | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/zencore/session.cpp b/zencore/session.cpp index 195a9d97c..d57d3685b 100644 --- a/zencore/session.cpp +++ b/zencore/session.cpp @@ -1,3 +1,5 @@ +// Copyright Epic Games, Inc. All Rights Reserved. + #include "zencore/session.h" #include <zencore/uid.h> @@ -6,16 +8,15 @@ namespace zen { -static Oid GlobalSessionId; +static Oid GlobalSessionId; static std::once_flag SessionInitFlag; -Oid GetSessionId() +Oid +GetSessionId() { - std::call_once(SessionInitFlag, [&] { - GlobalSessionId.Generate(); - }); + std::call_once(SessionInitFlag, [&] { GlobalSessionId.Generate(); }); - return GlobalSessionId; + return GlobalSessionId; } -}
\ No newline at end of file +} // namespace zen
\ No newline at end of file |