From 3336f268eb26aa0318cd3fa3f97116c43545f87b Mon Sep 17 00:00:00 2001 From: arkady-e1ppa <arkady-e1ppa@yandex-team.com> Date: Tue, 2 Jul 2024 15:28:09 +0300 Subject: YT-21868: Reorganize files to prevent unclear missing include errors Moving files around so that include of either `string_builder.h` or `format.h` would result in being able to use both `Format` and `TStringBuilder` 8a2abbea2ae7027c1cd3a243ab3de55bdd5d3d27 --- library/cpp/yt/string/guid.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'library/cpp/yt/string/guid.cpp') diff --git a/library/cpp/yt/string/guid.cpp b/library/cpp/yt/string/guid.cpp index 2a781d032d..b18ac3e128 100644 --- a/library/cpp/yt/string/guid.cpp +++ b/library/cpp/yt/string/guid.cpp @@ -1,10 +1,12 @@ #include "guid.h" +#include "format.h" + namespace NYT { //////////////////////////////////////////////////////////////////////////////// -void FormatValue(TStringBuilderBase* builder, TGuid value, TStringBuf /*format*/) +void FormatValue(TStringBuilderBase* builder, TGuid value, TStringBuf /*spec*/) { char* begin = builder->Preallocate(MaxGuidStringSize); char* end = WriteGuidToBuffer(begin, value); -- cgit v1.2.3