Enums::toString() -> Enums::to_string()
MODIFY
include/vcpkg_Enums.h
include/vcpkg_Enums.h
namespace vcpkg::Enums
{
- std::string nullvalue_toString(const std::string& enum_name);
+ std::string nullvalue_to_string(const std::string& enum_name);
[[noreturn]]
void nullvalue_used(const LineInfo& line_info, const std::string& enum_name);

MODIFY
src/PostBuildLint_BuildPolicies.cpp
src/PostBuildLint_BuildPolicies.cpp
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";

MODIFY
src/PostBuildLint_ConfigurationType.cpp
src/PostBuildLint_ConfigurationType.cpp
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";

MODIFY
src/PostBuildLint_LinkageType.cpp
src/PostBuildLint_LinkageType.cpp
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";

MODIFY
src/commands_build.cpp
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";

MODIFY
src/vcpkg_Enums.cpp
src/vcpkg_Enums.cpp
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);
}

Enums::toString() -> Enums::to_string()