aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2022-06-26 16:50:44 +0200
committerSven Gothel <[email protected]>2022-06-26 16:50:44 +0200
commit7c6732dce9438b5ef8ba92308906352f832ea129 (patch)
treecaca9e2e6699babaffd8a9ec4cfaa5ffe6af9a17 /include
parentf4d5cfe2dfd6f1c612d8890b543b28b4fdb53d53 (diff)
ByteInStream_Feed: Fix deletion of copy-ctor and assignment operator
Diffstat (limited to 'include')
-rw-r--r--include/jau/byte_stream.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/jau/byte_stream.hpp b/include/jau/byte_stream.hpp
index b6af476..73e5331 100644
--- a/include/jau/byte_stream.hpp
+++ b/include/jau/byte_stream.hpp
@@ -473,7 +473,7 @@ namespace jau::io {
* If non of the above leads to a ByteInStream without ByteInStream::error(), nullptr is returned.
*
* @param path_or_uri given path or uri for with a ByteInStream instance shall be established.
- * @param timeout a timeout in case ByteInStream_URL is being used as maximum dureation to wait for next bytes at ByteInStream_URL::check_available(), defaults to 20_s
+ * @param timeout a timeout in case ByteInStream_URL is being used as maximum duration to wait for next bytes at ByteInStream_URL::check_available(), defaults to 20_s
* @return a working ByteInStream w/o ByteInStream::error() or nullptr
*/
std::unique_ptr<ByteInStream> to_ByteInStream(const std::string& path_or_uri, jau::fraction_i64 timeout=20_s) noexcept;
@@ -530,9 +530,9 @@ namespace jau::io {
*/
ByteInStream_Feed(const std::string& id_name, const jau::fraction_i64& timeout) noexcept;
- ByteInStream_Feed(const ByteInStream_URL&) = delete;
+ ByteInStream_Feed(const ByteInStream_Feed&) = delete;
- ByteInStream_Feed& operator=(const ByteInStream_URL&) = delete;
+ ByteInStream_Feed& operator=(const ByteInStream_Feed&) = delete;
void close() noexcept override;