diff options
author | Vlad Yaroslavlev <vladon@vladon.com> | 2022-02-10 16:46:23 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:46:23 +0300 |
commit | 706b83ed7de5a473436620367af31fc0ceecde07 (patch) | |
tree | 103305d30dec77e8f6367753367f59b3cd68f9f1 /library/cpp/messagebus/actor/thread_extra.cpp | |
parent | 918e8a1574070d0ec733f0b76cfad8f8892ad2e5 (diff) | |
download | ydb-706b83ed7de5a473436620367af31fc0ceecde07.tar.gz |
Restoring authorship annotation for Vlad Yaroslavlev <vladon@vladon.com>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/messagebus/actor/thread_extra.cpp')
-rw-r--r-- | library/cpp/messagebus/actor/thread_extra.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/library/cpp/messagebus/actor/thread_extra.cpp b/library/cpp/messagebus/actor/thread_extra.cpp index 048480f255..826ae45670 100644 --- a/library/cpp/messagebus/actor/thread_extra.cpp +++ b/library/cpp/messagebus/actor/thread_extra.cpp @@ -7,10 +7,10 @@ namespace { #ifdef _linux_ - TString GetExecName() { - TString execPath = GetExecPath(); + TString GetExecName() { + TString execPath = GetExecPath(); size_t lastSlash = execPath.find_last_of('/'); - if (lastSlash == TString::npos) { + if (lastSlash == TString::npos) { return execPath; } else { return execPath.substr(lastSlash + 1); |