aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/src
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2017-04-03 16:47:58 -0700
committerAlexander Karatarakis <alkarata@microsoft.com>2017-04-04 16:47:07 -0700
commitdac8ace7619c863e0f59e4d68623e55ebf71e04d (patch)
treeda1008eaaf0a119a13bb5d36f450f1ae78188892 /toolsrc/src
parent2d7beb71e7f35daca1d1ad2d56ea85c39f2bc6e2 (diff)
downloadvcpkg-dac8ace7619c863e0f59e4d68623e55ebf71e04d.tar.gz
vcpkg-dac8ace7619c863e0f59e4d68623e55ebf71e04d.zip
LineInfo::toString() -> LineInfo::to_string()
Diffstat (limited to 'toolsrc/src')
-rw-r--r--toolsrc/src/LineInfo.cpp2
-rw-r--r--toolsrc/src/vcpkg_Checks.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/toolsrc/src/LineInfo.cpp b/toolsrc/src/LineInfo.cpp
index fa26355e4..e32d237f4 100644
--- a/toolsrc/src/LineInfo.cpp
+++ b/toolsrc/src/LineInfo.cpp
@@ -4,7 +4,7 @@
namespace vcpkg
{
- std::string LineInfo::toString() const
+ std::string LineInfo::to_string() const
{
return Strings::format("%s(%d)", this->file_name, this->line_number);
}
diff --git a/toolsrc/src/vcpkg_Checks.cpp b/toolsrc/src/vcpkg_Checks.cpp
index d42793caf..8a80e3afe 100644
--- a/toolsrc/src/vcpkg_Checks.cpp
+++ b/toolsrc/src/vcpkg_Checks.cpp
@@ -9,7 +9,7 @@ namespace vcpkg::Checks
void unreachable(const LineInfo& line_info)
{
System::println(System::Color::error, "Error: Unreachable code was reached");
- System::println(System::Color::error, line_info.toString()); // Always print line_info here
+ System::println(System::Color::error, line_info.to_string()); // Always print line_info here
#ifndef NDEBUG
std::abort();
#else
@@ -22,7 +22,7 @@ namespace vcpkg::Checks
{
if (g_debugging)
{
- System::println(System::Color::error, line_info.toString());
+ System::println(System::Color::error, line_info.to_string());
}
::exit(exit_code);