diff options
| author | arkady-e1ppa <[email protected]> | 2024-06-11 22:01:04 +0300 |
|---|---|---|
| committer | arkady-e1ppa <[email protected]> | 2024-06-12 11:47:00 +0300 |
| commit | 89f56e044a4f82c7e88fa15771beca2d5787c7c8 (patch) | |
| tree | adb31c52e55de4c2131cf15ca722e64b609b1a10 /library/cpp/yt/misc/source_location.cpp | |
| parent | a41bb65a80fdc183e427b6c337dbbc15776f1c92 (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.cpp | 7 |
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 //////////////////////////////////////////////////////////////////////////////// |
