summaryrefslogtreecommitdiffstats
path: root/library/cpp/yt/misc/source_location.cpp
diff options
context:
space:
mode:
authorarkady-e1ppa <[email protected]>2024-06-11 22:01:04 +0300
committerarkady-e1ppa <[email protected]>2024-06-12 11:47:00 +0300
commit89f56e044a4f82c7e88fa15771beca2d5787c7c8 (patch)
treeadb31c52e55de4c2131cf15ca722e64b609b1a10 /library/cpp/yt/misc/source_location.cpp
parenta41bb65a80fdc183e427b6c337dbbc15776f1c92 (diff)
YT-21868: Delete unneeded ToString methods
e856aa45df227b86e8b121852d3774bb2504193b
Diffstat (limited to 'library/cpp/yt/misc/source_location.cpp')
-rw-r--r--library/cpp/yt/misc/source_location.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/library/cpp/yt/misc/source_location.cpp b/library/cpp/yt/misc/source_location.cpp
index 3fe45e23a76..37eb5edd533 100644
--- a/library/cpp/yt/misc/source_location.cpp
+++ b/library/cpp/yt/misc/source_location.cpp
@@ -10,7 +10,7 @@ namespace NYT {
#ifdef __cpp_lib_source_location
-void FormatValue(TStringBuilderBase* builder, const std::source_location& location, TStringBuf /*format*/)
+void FormatValue(TStringBuilderBase* builder, const std::source_location& location, TStringBuf /*spec*/)
{
if (location.file_name() != nullptr) {
builder->AppendFormat(
@@ -23,11 +23,6 @@ void FormatValue(TStringBuilderBase* builder, const std::source_location& locati
}
}
-TString ToString(const std::source_location& location)
-{
- return ToStringViaBuilder(location);
-}
-
#endif // __cpp_lib_source_location
////////////////////////////////////////////////////////////////////////////////