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

This commit is contained in:
Alexander Karatarakis 2017-04-03 16:25:12 -07:00
parent 4a8b2ed1cd
commit ccbb2ebcda
6 changed files with 6 additions and 6 deletions

View File

@ -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);
[[noreturn]]
void nullvalue_used(const LineInfo& line_info, const std::string& enum_name);

View File

@ -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";

View File

@ -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";

View File

@ -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";

View File

@ -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";

View File

@ -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);
}