diff options
| author | Lioncash <mathew1800@gmail.com> | 2017-09-09 15:52:35 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2017-09-09 19:28:10 -0400 |
| commit | 696e1b40b58ee1ef9340ceac02059abbe63f3120 (patch) | |
| tree | 02ccf253c0a7196dbcafd99524c07801d42c4791 /Source/Core/Common/TraversalClient.cpp | |
| parent | e86713ca6726393f4b5a2dd2240b79828d6fcb4b (diff) | |
Common: Move version strings to their own header
Ideally Common.h wouldn't be a header in the Common library, and instead be renamed to something else, like PlatformCompatibility.h or something, but even then, there's still some things in the header that don't really fall under that label
This moves the version strings out to their own version header that doesn't dump a bunch of other unrelated things into scope, like what Common.h was doing.
This also places them into the Common namespace, as opposed to letting them sit in the global namespace.
Diffstat (limited to 'Source/Core/Common/TraversalClient.cpp')
| -rw-r--r-- | Source/Core/Common/TraversalClient.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/Source/Core/Common/TraversalClient.cpp b/Source/Core/Common/TraversalClient.cpp index cc1e4a148d..13089b958c 100644 --- a/Source/Core/Common/TraversalClient.cpp +++ b/Source/Core/Common/TraversalClient.cpp @@ -1,9 +1,15 @@ // This file is public domain, in case it's useful to anyone. -comex #include "Common/TraversalClient.h" + +#include <cstddef> +#include <cstring> +#include <random> +#include <string> + +#include "Common/CommonTypes.h" #include "Common/Logging/Log.h" #include "Common/MsgHandler.h" -#include "Common/Timer.h" static void GetRandomishBytes(u8* buf, size_t size) { |
