diff options
| author | Alexander Karatarakis <alkarata@microsoft.com> | 2017-04-03 16:25:12 -0700 |
|---|---|---|
| committer | Alexander Karatarakis <alkarata@microsoft.com> | 2017-04-04 16:44:45 -0700 |
| commit | ccbb2ebcdafa3978105115840285466d57c87186 (patch) | |
| tree | 6118c0f7d536507bbcae3f5bae798e2f7064b8bb /toolsrc/src | |
| parent | 4a8b2ed1cd91dd41c728f4ba03ee525e73bdfef4 (diff) | |
| download | vcpkg-ccbb2ebcdafa3978105115840285466d57c87186.tar.gz vcpkg-ccbb2ebcdafa3978105115840285466d57c87186.zip | |
Enums::toString() -> Enums::to_string()
Diffstat (limited to 'toolsrc/src')
| -rw-r--r-- | toolsrc/src/PostBuildLint_BuildPolicies.cpp | 2 | ||||
| -rw-r--r-- | toolsrc/src/PostBuildLint_ConfigurationType.cpp | 2 | ||||
| -rw-r--r-- | toolsrc/src/PostBuildLint_LinkageType.cpp | 2 | ||||
| -rw-r--r-- | toolsrc/src/commands_build.cpp | 2 | ||||
| -rw-r--r-- | toolsrc/src/vcpkg_Enums.cpp | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/toolsrc/src/PostBuildLint_BuildPolicies.cpp b/toolsrc/src/PostBuildLint_BuildPolicies.cpp index 470adee9e..f243401c5 100644 --- a/toolsrc/src/PostBuildLint_BuildPolicies.cpp +++ b/toolsrc/src/PostBuildLint_BuildPolicies.cpp @@ -5,7 +5,7 @@ namespace vcpkg::PostBuildLint::BuildPolicies { - static const std::string NULLVALUE_STRING = Enums::nullvalue_toString(ENUM_NAME); + static const std::string NULLVALUE_STRING = Enums::nullvalue_to_string(ENUM_NAME); static const std::string NAME_EMPTY_PACKAGE = "PolicyEmptyPackage"; static const std::string NAME_DLLS_WITHOUT_LIBS = "PolicyDLLsWithoutLIBs"; diff --git a/toolsrc/src/PostBuildLint_ConfigurationType.cpp b/toolsrc/src/PostBuildLint_ConfigurationType.cpp index 7edd927a3..ff04259cf 100644 --- a/toolsrc/src/PostBuildLint_ConfigurationType.cpp +++ b/toolsrc/src/PostBuildLint_ConfigurationType.cpp @@ -5,7 +5,7 @@ namespace vcpkg::PostBuildLint::ConfigurationType { - static const std::string NULLVALUE_STRING = Enums::nullvalue_toString(ENUM_NAME); + static const std::string NULLVALUE_STRING = Enums::nullvalue_to_string(ENUM_NAME); static const std::string NAME_DEBUG = "Debug"; static const std::string NAME_RELEASE = "Release"; diff --git a/toolsrc/src/PostBuildLint_LinkageType.cpp b/toolsrc/src/PostBuildLint_LinkageType.cpp index fee74ea83..f12f45167 100644 --- a/toolsrc/src/PostBuildLint_LinkageType.cpp +++ b/toolsrc/src/PostBuildLint_LinkageType.cpp @@ -5,7 +5,7 @@ namespace vcpkg::PostBuildLint::LinkageType { - static const std::string NULLVALUE_STRING = Enums::nullvalue_toString(ENUM_NAME); + static const std::string NULLVALUE_STRING = Enums::nullvalue_to_string(ENUM_NAME); static const std::string NAME_DYNAMIC = "dynamic"; static const std::string NAME_STATIC = "static"; diff --git a/toolsrc/src/commands_build.cpp b/toolsrc/src/commands_build.cpp index b821cf28e..ebc4428bc 100644 --- a/toolsrc/src/commands_build.cpp +++ b/toolsrc/src/commands_build.cpp @@ -94,7 +94,7 @@ namespace vcpkg::Commands::Build const std::string& to_string(const BuildResult build_result) { - static const std::string NULLVALUE_STRING = Enums::nullvalue_toString("vcpkg::Commands::Build::BuildResult"); + static const std::string NULLVALUE_STRING = Enums::nullvalue_to_string("vcpkg::Commands::Build::BuildResult"); static const std::string SUCCEEDED_STRING = "SUCCEEDED"; static const std::string BUILD_FAILED_STRING = "BUILD_FAILED"; static const std::string POST_BUILD_CHECKS_FAILED_STRING = "POST_BUILD_CHECKS_FAILED"; diff --git a/toolsrc/src/vcpkg_Enums.cpp b/toolsrc/src/vcpkg_Enums.cpp index 49f21e0e6..38102a804 100644 --- a/toolsrc/src/vcpkg_Enums.cpp +++ b/toolsrc/src/vcpkg_Enums.cpp @@ -4,7 +4,7 @@ namespace vcpkg::Enums { - std::string nullvalue_toString(const std::string& enum_name) + std::string nullvalue_to_string(const std::string& enum_name) { return Strings::format("%s_NULLVALUE", enum_name); } |
