aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/src/vcpkg_System.cpp
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2017-01-05 12:47:08 -0800
committerAlexander Karatarakis <alkarata@microsoft.com>2017-01-05 12:55:28 -0800
commit0b5e2e9e76e66b566cf4d3f68146fdbdff2bac05 (patch)
tree5eca03ad9eeb2c91bcafa28fe3557e92b561524b /toolsrc/src/vcpkg_System.cpp
parentb280f57002044036c1c3c9a446c06e8e0a34fb00 (diff)
downloadvcpkg-0b5e2e9e76e66b566cf4d3f68146fdbdff2bac05.tar.gz
vcpkg-0b5e2e9e76e66b566cf4d3f68146fdbdff2bac05.zip
Use nested namespace definition
Diffstat (limited to 'toolsrc/src/vcpkg_System.cpp')
-rw-r--r--toolsrc/src/vcpkg_System.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/toolsrc/src/vcpkg_System.cpp b/toolsrc/src/vcpkg_System.cpp
index 43eae3412..405dfd1b8 100644
--- a/toolsrc/src/vcpkg_System.cpp
+++ b/toolsrc/src/vcpkg_System.cpp
@@ -3,7 +3,7 @@
#include <Windows.h>
#include <regex>
-namespace vcpkg {namespace System
+namespace vcpkg::System
{
fs::path get_exe_path_of_current_process()
{
@@ -104,6 +104,6 @@ namespace vcpkg {namespace System
double Stopwatch2::microseconds() const
{
return (reinterpret_cast<const LARGE_INTEGER*>(&end_time)->QuadPart -
- reinterpret_cast<const LARGE_INTEGER*>(&start_time)->QuadPart) * 1000000.0 / reinterpret_cast<const LARGE_INTEGER*>(&freq)->QuadPart;
+ reinterpret_cast<const LARGE_INTEGER*>(&start_time)->QuadPart) * 1000000.0 / reinterpret_cast<const LARGE_INTEGER*>(&freq)->QuadPart;
}
-}}
+}