diff options
author | Tim Schumacher <timschumi@gmx.de> | 2023-01-22 05:09:11 +0100 |
---|---|---|
committer | Andrew Kaster <andrewdkaster@gmail.com> | 2023-01-29 19:16:44 -0700 |
commit | 8464da143987e290fa3d9ad739b491e6adbffee6 (patch) | |
tree | 58905a6ac790d1e2368b9132403b190271617c4b /Userland/Utilities/pro.cpp | |
parent | 5f2ea31816612dead5bc7ac59d27da0bc4b45736 (diff) | |
download | serenity-8464da143987e290fa3d9ad739b491e6adbffee6.zip |
AK: Move `Stream` and `SeekableStream` from `LibCore`
`Stream` will be qualified as `AK::Stream` until we remove the
`Core::Stream` namespace. `IODevice` now reuses the `SeekMode` that is
defined by `SeekableStream`, since defining its own would require us to
qualify it with `AK::SeekMode` everywhere.
Diffstat (limited to 'Userland/Utilities/pro.cpp')
-rw-r--r-- | Userland/Utilities/pro.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Userland/Utilities/pro.cpp b/Userland/Utilities/pro.cpp index 79c6f56929..c02b266007 100644 --- a/Userland/Utilities/pro.cpp +++ b/Userland/Utilities/pro.cpp @@ -104,9 +104,9 @@ private: /// Wraps a stream to silently ignore writes when the condition isn't true. template<typename ConditionT> -class ConditionalOutputStream final : public Core::Stream::Stream { +class ConditionalOutputStream final : public AK::Stream { public: - ConditionalOutputStream(ConditionT&& condition, MaybeOwned<Core::Stream::Stream> stream) + ConditionalOutputStream(ConditionT&& condition, MaybeOwned<AK::Stream> stream) : m_stream(move(stream)) , m_condition(condition) { @@ -141,7 +141,7 @@ public: } private: - MaybeOwned<Core::Stream::Stream> m_stream; + MaybeOwned<AK::Stream> m_stream; ConditionT m_condition; }; |