diff options
author | Daniil Cherednik <dan.cherednik@gmail.com> | 2023-06-15 18:24:59 +0300 |
---|---|---|
committer | Daniil Cherednik <dan.cherednik@gmail.com> | 2023-06-15 18:26:33 +0300 |
commit | 068d4453cf9fc68c875eee73f5c637bb076f6a71 (patch) | |
tree | da3e83fdb9488ea08faa39d8b41916744f9acad7 /library/cpp/actors | |
parent | 7e7de263d4acbc6eacf92b618bcb5f9049bccc9b (diff) | |
download | ydb-068d4453cf9fc68c875eee73f5c637bb076f6a71.tar.gz |
Create stable-23-2 branch
x-stable-origin-commit: 3fd4d58117c143ed9e6b21813ccd9e507d2cd4d3
Diffstat (limited to 'library/cpp/actors')
-rw-r--r-- | library/cpp/actors/core/monotonic.cpp | 8 | ||||
-rw-r--r-- | library/cpp/actors/core/monotonic.h | 3 | ||||
-rw-r--r-- | library/cpp/actors/core/monotonic_provider.cpp | 8 | ||||
-rw-r--r-- | library/cpp/actors/core/monotonic_provider.h | 4 |
4 files changed, 4 insertions, 19 deletions
diff --git a/library/cpp/actors/core/monotonic.cpp b/library/cpp/actors/core/monotonic.cpp index 4d2c28ef0c..581d80d849 100644 --- a/library/cpp/actors/core/monotonic.cpp +++ b/library/cpp/actors/core/monotonic.cpp @@ -1,9 +1 @@ #include "monotonic.h" - -namespace NActors { - -ui64 GetMonotonicMicroSeconds() { - return NMonotonic::GetMonotonicMicroSeconds(); -} - -} // namespace NActors diff --git a/library/cpp/actors/core/monotonic.h b/library/cpp/actors/core/monotonic.h index 46fd13f335..2c53785390 100644 --- a/library/cpp/actors/core/monotonic.h +++ b/library/cpp/actors/core/monotonic.h @@ -5,7 +5,8 @@ namespace NActors { -ui64 GetMonotonicMicroSeconds(); +using NMonotonic::GetMonotonicMicroSeconds; using TMonotonic = NMonotonic::TMonotonic; + } // namespace NActors diff --git a/library/cpp/actors/core/monotonic_provider.cpp b/library/cpp/actors/core/monotonic_provider.cpp index 9e5bb1aadf..f8d91a4eec 100644 --- a/library/cpp/actors/core/monotonic_provider.cpp +++ b/library/cpp/actors/core/monotonic_provider.cpp @@ -1,9 +1 @@ #include "monotonic_provider.h" - -namespace NActors { - -TIntrusivePtr<NActors::IMonotonicTimeProvider> CreateDefaultMonotonicTimeProvider() { - return NMonotonic::CreateDefaultMonotonicTimeProvider(); -} - -} // namespace NActors diff --git a/library/cpp/actors/core/monotonic_provider.h b/library/cpp/actors/core/monotonic_provider.h index 1f6c44aeb9..befe4f7b90 100644 --- a/library/cpp/actors/core/monotonic_provider.h +++ b/library/cpp/actors/core/monotonic_provider.h @@ -4,8 +4,8 @@ namespace NActors { -using IMonotonicTimeProvider = ::IMonotonicTimeProvider; +using IMonotonicTimeProvider = NMonotonic::IMonotonicTimeProvider; -TIntrusivePtr<IMonotonicTimeProvider> CreateDefaultMonotonicTimeProvider(); +using NMonotonic::CreateDefaultMonotonicTimeProvider; } // namespace NActors |