aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/include
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2017-04-03 16:03:04 -0700
committerAlexander Karatarakis <alkarata@microsoft.com>2017-04-04 16:44:43 -0700
commit0621449f1807aacebb6ad10f42877322abb48d9d (patch)
treee3b1e5636ca1b26c632fd07b9d256f23a04b5fd0 /toolsrc/include
parente051edfa10a686490168f0e888297afb22a4b905 (diff)
downloadvcpkg-0621449f1807aacebb6ad10f42877322abb48d9d.tar.gz
vcpkg-0621449f1807aacebb6ad10f42877322abb48d9d.zip
command_type_x -> CommandTypeX
Diffstat (limited to 'toolsrc/include')
-rw-r--r--toolsrc/include/vcpkg_Commands.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/toolsrc/include/vcpkg_Commands.h b/toolsrc/include/vcpkg_Commands.h
index b7e981b41..9ba423a08 100644
--- a/toolsrc/include/vcpkg_Commands.h
+++ b/toolsrc/include/vcpkg_Commands.h
@@ -8,9 +8,9 @@
namespace vcpkg::Commands
{
- using command_type_a = void(*)(const VcpkgCmdArguments& args, const vcpkg_paths& paths, const Triplet& default_target_triplet);
- using command_type_b = void(*)(const VcpkgCmdArguments& args, const vcpkg_paths& paths);
- using command_type_c = void(*)(const VcpkgCmdArguments& args);
+ using CommandTypeA = void(*)(const VcpkgCmdArguments& args, const vcpkg_paths& paths, const Triplet& default_target_triplet);
+ using CommandTypeB = void(*)(const VcpkgCmdArguments& args, const vcpkg_paths& paths);
+ using CommandTypeC = void(*)(const VcpkgCmdArguments& args);
namespace Build
{
@@ -160,9 +160,9 @@ namespace vcpkg::Commands
T function;
};
- const std::vector<package_name_and_function<command_type_a>>& get_available_commands_type_a();
- const std::vector<package_name_and_function<command_type_b>>& get_available_commands_type_b();
- const std::vector<package_name_and_function<command_type_c>>& get_available_commands_type_c();
+ const std::vector<package_name_and_function<CommandTypeA>>& get_available_commands_type_a();
+ const std::vector<package_name_and_function<CommandTypeB>>& get_available_commands_type_b();
+ const std::vector<package_name_and_function<CommandTypeC>>& get_available_commands_type_c();
template <typename T>
T find(const std::string& command_name, const std::vector<package_name_and_function<T>> available_commands)