Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/windirstat/llfio.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com>2018-09-03 11:31:24 +0300
committerNiall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com>2018-09-03 11:31:24 +0300
commit13620554f4acb3cd939219d6fed6086877d1aaba (patch)
tree8512d5520b33798ac469ba1846a05c0c55483820 /include/llfio/v2.0/io_handle.hpp
parentc973446711c5005c5970ae3b51747a8d2c6aaf2f (diff)
Add a CI test checking for non-inline symbols in the header only build.
Relocate initialiser list io_handle read function into file_handle
Diffstat (limited to 'include/llfio/v2.0/io_handle.hpp')
-rw-r--r--include/llfio/v2.0/io_handle.hpp19
1 files changed, 0 insertions, 19 deletions
diff --git a/include/llfio/v2.0/io_handle.hpp b/include/llfio/v2.0/io_handle.hpp
index ce17e4df..bd9d857a 100644
--- a/include/llfio/v2.0/io_handle.hpp
+++ b/include/llfio/v2.0/io_handle.hpp
@@ -305,20 +305,6 @@ public:
*/
LLFIO_MAKE_FREE_FUNCTION
LLFIO_HEADERS_ONLY_VIRTUAL_SPEC io_result<buffers_type> read(io_request<buffers_type> reqs, deadline d = deadline()) noexcept;
- //! \overload
- LLFIO_MAKE_FREE_FUNCTION
- io_result<size_type> read(extent_type offset, std::initializer_list<buffer_type> lst, deadline d = deadline()) noexcept
- {
- buffer_type *_reqs = reinterpret_cast<buffer_type *>(alloca(sizeof(buffer_type) * lst.size()));
- memcpy(_reqs, lst.begin(), sizeof(buffer_type) * lst.size());
- io_request<buffers_type> reqs(buffers_type(_reqs, lst.size()), offset);
- auto ret = read(reqs, d);
- if(ret)
- {
- return ret.bytes_transferred();
- }
- return ret.error();
- }
/*! \brief Write data to the open handle.
@@ -569,11 +555,6 @@ inline io_handle::io_result<io_handle::buffers_type> read(io_handle &self, io_ha
{
return self.read(std::forward<decltype(reqs)>(reqs), std::forward<decltype(d)>(d));
}
-//! \overload
-inline io_handle::io_result<io_handle::size_type> read(io_handle &self, io_handle::extent_type offset, std::initializer_list<io_handle::buffer_type> lst, deadline d = deadline()) noexcept
-{
- return self.read(std::forward<decltype(offset)>(offset), std::forward<decltype(lst)>(lst), std::forward<decltype(d)>(d));
-}
/*! \brief Write data to the open handle.
\warning Depending on the implementation backend, not all of the buffers input may be written and