diff options
| author | Alexander Karatarakis <alkarata@microsoft.com> | 2017-01-05 12:47:08 -0800 |
|---|---|---|
| committer | Alexander Karatarakis <alkarata@microsoft.com> | 2017-01-05 12:55:28 -0800 |
| commit | 0b5e2e9e76e66b566cf4d3f68146fdbdff2bac05 (patch) | |
| tree | 5eca03ad9eeb2c91bcafa28fe3557e92b561524b /toolsrc/include/vcpkg_Maps.h | |
| parent | b280f57002044036c1c3c9a446c06e8e0a34fb00 (diff) | |
| download | vcpkg-0b5e2e9e76e66b566cf4d3f68146fdbdff2bac05.tar.gz vcpkg-0b5e2e9e76e66b566cf4d3f68146fdbdff2bac05.zip | |
Use nested namespace definition
Diffstat (limited to 'toolsrc/include/vcpkg_Maps.h')
| -rw-r--r-- | toolsrc/include/vcpkg_Maps.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/toolsrc/include/vcpkg_Maps.h b/toolsrc/include/vcpkg_Maps.h index c67462a39..5e2f92f55 100644 --- a/toolsrc/include/vcpkg_Maps.h +++ b/toolsrc/include/vcpkg_Maps.h @@ -4,7 +4,7 @@ #include <unordered_set> #include <map> -namespace vcpkg { namespace Maps +namespace vcpkg::Maps { template <typename K, typename V> std::unordered_set<K> extract_key_set(const std::unordered_map<K, V>& input_map) @@ -38,4 +38,4 @@ namespace vcpkg { namespace Maps } return key_set; } -}} +} |
