Skip to content

Commit

Permalink
41 Replace TMaybe to std::optional
Browse files Browse the repository at this point in the history
  • Loading branch information
antonporodnikov authored and Shikaree68 committed Mar 8, 2024
1 parent 77b2d40 commit eec5afe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion client/ydb_persqueue_core/impl/read_session.ipp
Original file line number Diff line number Diff line change
Expand Up @@ -577,7 +577,7 @@ bool TSingleClusterReadSessionImpl<UseMigrationProtocol>::IsActualPartitionStrea

template<bool UseMigrationProtocol>
void TSingleClusterReadSessionImpl<UseMigrationProtocol>::ConfirmPartitionStreamCreate(const TPartitionStreamImpl<UseMigrationProtocol>* partitionStream, std::optional<ui64> readOffset, std::optional<ui64> commitOffset) {
TStringBuilder commitOffsetLogStr;
NUtils::TYdbStringBuilder commitOffsetLogStr;
if (commitOffset) {
commitOffsetLogStr << ". Commit offset: " << *commitOffset;
}
Expand Down
1 change: 1 addition & 0 deletions util/system/shellcommand.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
#include "getpid.h"
#include "thread.h"
#include <sys/types.h>

#include <list>
#include <atomic>

Expand Down

0 comments on commit eec5afe

Please sign in to comment.