Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Gazizonoki committed Mar 5, 2024
1 parent f6afcbb commit dbabe7c
Show file tree
Hide file tree
Showing 26 changed files with 22 additions and 501 deletions.
3 changes: 1 addition & 2 deletions client/ydb_persqueue_public/codecs/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ target_link_libraries(client-ydb_persqueue_public-codecs PUBLIC
api-grpc-draft
api-grpc
api-protos
cpp-string_utils-string_output
)
)

target_sources(client-ydb_persqueue_public-codecs PRIVATE
${CMAKE_SOURCE_DIR}/client/ydb_persqueue_public/codecs/codecs.cpp
Expand Down
3 changes: 1 addition & 2 deletions client/ydb_result/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ target_link_libraries(cpp-client-ydb_result PUBLIC
client-ydb_types-fatal_error_handlers
cpp-client-ydb_value
cpp-client-ydb_proto
cpp-string_utils-string_output
)
)
target_sources(cpp-client-ydb_result PRIVATE
${CMAKE_SOURCE_DIR}/client/ydb_result/proto_accessor.cpp
${CMAKE_SOURCE_DIR}/client/ydb_result/result.cpp
Expand Down
3 changes: 1 addition & 2 deletions client/ydb_result/result.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
#include <ydb/public/api/protos/ydb_value.pb.h>

#include <util/string/builder.h>
#include <library/cpp/string_utils/string_output/string_output.h>

#include <util/generic/mapfindptr.h>

Expand All @@ -16,7 +15,7 @@ namespace NYdb {

std::string TColumn::ToString() const {
std::string result;
NUtils::TStringOutput out(result);
TStringOutput out(result);
Out(out);
return result;
}
Expand Down
3 changes: 1 addition & 2 deletions client/ydb_scheme/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ target_link_libraries(cpp-client-ydb_scheme PUBLIC
impl-ydb_internal-make_request
client-ydb_common_client-impl
cpp-client-ydb_driver
cpp-string_utils-string_output
)
)

target_sources(cpp-client-ydb_scheme PRIVATE
${CMAKE_SOURCE_DIR}/client/ydb_scheme/scheme.cpp
Expand Down
3 changes: 1 addition & 2 deletions client/ydb_scheme/scheme.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
#include <ydb/public/api/protos/ydb_scheme.pb.h>
#include <client/ydb_common_client/impl/client.h>

#include <library/cpp/string_utils/string_output/string_output.h>

namespace NYdb {
namespace NScheme {
Expand All @@ -28,7 +27,7 @@ TVirtualTimestamp::TVirtualTimestamp(const ::Ydb::VirtualTimestamp& proto)

std::string TVirtualTimestamp::ToString() const {
std::string result;
NUtils::TStringOutput out(result);
TStringOutput out(result);
Out(out);
return result;
}
Expand Down
3 changes: 1 addition & 2 deletions client/ydb_table/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@ target_link_libraries(cpp-client-ydb_table PUBLIC
client-ydb_types-operation
cpp-client-ydb_value
cpp-string_utils-misc
cpp-string_utils-string_output
)
)

target_sources(cpp-client-ydb_table PRIVATE
${CMAKE_SOURCE_DIR}/client/ydb_table/table.cpp
Expand Down
7 changes: 3 additions & 4 deletions client/ydb_table/table.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@

#include <library/cpp/cache/cache.h>
#include <library/cpp/string_utils/misc/misc.h>
#include <library/cpp/string_utils/string_output/string_output.h>

#include <util/random/random.h>
#include <util/string/join.h>
Expand Down Expand Up @@ -2294,7 +2293,7 @@ void TIndexDescription::SerializeTo(Ydb::Table::TableIndex& proto) const {

std::string TIndexDescription::ToString() const {
std::string result;
NUtils::TStringOutput out(result);
TStringOutput out(result);
Out(out);
return result;
}
Expand Down Expand Up @@ -2545,7 +2544,7 @@ void TChangefeedDescription::SerializeTo(Ydb::Table::Changefeed& proto) const {

std::string TChangefeedDescription::ToString() const {
std::string result;
NUtils::TStringOutput out(result);
TStringOutput out(result);
Out(out);
return result;
}
Expand Down Expand Up @@ -2647,7 +2646,7 @@ void TValueSinceUnixEpochModeSettings::Out(IOutputStream& out, EUnit unit) {

std::string TValueSinceUnixEpochModeSettings::ToString(EUnit unit) {
std::string result;
NUtils::TStringOutput out(result);
TStringOutput out(result);
Out(out, unit);
return result;
}
Expand Down
3 changes: 1 addition & 2 deletions client/ydb_types/operation/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ target_link_libraries(client-ydb_types-operation PUBLIC
cpp-threading-future
public-lib-operation_id
cpp-client-ydb_types
cpp-string_utils-string_output
)
)

target_sources(client-ydb_types-operation PRIVATE
${CMAKE_SOURCE_DIR}/client/ydb_types/operation/operation.cpp
Expand Down
3 changes: 1 addition & 2 deletions client/ydb_types/operation/operation.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#include "operation.h"

#include <library/cpp/string_utils/string_output/string_output.h>

#include <ydb/public/api/protos/ydb_operation.pb.h>
#include <client/ydb_types/status/status.h>
Expand Down Expand Up @@ -68,7 +67,7 @@ const TStatus& TOperation::Status() const {

std::string TOperation::ToString() const {
std::string result;
NUtils::TStringOutput out(result);
TStringOutput out(result);
Out(out);
return result;
}
Expand Down
1 change: 0 additions & 1 deletion library/cpp/dbg_output/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ target_link_libraries(library-cpp-dbg_output PUBLIC
yutil
library-cpp-colorizer
cpp-string_utils-misc
cpp-string_utils-escape
)

target_sources(library-cpp-dbg_output PRIVATE
Expand Down
3 changes: 1 addition & 2 deletions library/cpp/getopt/small/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ target_link_libraries(cpp-getopt-small PUBLIC
yutil
library-cpp-colorizer
cpp-string_utils-misc
cpp-string_utils-string_output
)
)

target_sources(cpp-getopt-small PRIVATE
${CMAKE_SOURCE_DIR}/library/cpp/getopt/small/completer.cpp
Expand Down
4 changes: 2 additions & 2 deletions library/cpp/getopt/small/wrap.cpp
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#include "wrap.h"

#include <library/cpp/colorizer/colors.h>
#include <library/cpp/string_utils/string_output/string_output.h>

#include <util/stream/str.h>
#include <util/charset/utf8.h>

namespace NLastGetopt {
Expand All @@ -20,7 +20,7 @@ namespace NLastGetopt {
}

std::string res;
auto os = NUtils::TStringOutput(res);
auto os = TStringOutput(res);

const char* spaceBegin = text.begin();
const char* wordBegin = text.begin();
Expand Down
2 changes: 0 additions & 2 deletions library/cpp/string_utils/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,10 @@


add_subdirectory(base64)
add_subdirectory(escape)
add_subdirectory(misc)
add_subdirectory(quote)
add_subdirectory(relaxed_escaper)
add_subdirectory(scan)
add_subdirectory(stream)
add_subdirectory(helpers)
add_subdirectory(string_output)
add_subdirectory(url)
15 changes: 0 additions & 15 deletions library/cpp/string_utils/escape/CMakeLists.txt

This file was deleted.

193 changes: 0 additions & 193 deletions library/cpp/string_utils/escape/escape.cpp

This file was deleted.

Loading

0 comments on commit dbabe7c

Please sign in to comment.