Browse Source

Improved IWriter interface

- simplified signature of "write" method
Patrick 4 years ago
parent
commit
16d0fdeadf
1 changed files with 1 additions and 1 deletions
  1. 1 1
      source/io/IWriter.hpp

+ 1 - 1
source/io/IWriter.hpp

@@ -20,7 +20,7 @@ namespace ls_std {
       IWriter() = default;
       ~IWriter() = default;
 
-      virtual bool write(const std::vector<ls_std::byte>& _data) = 0;
+      virtual bool write(const ls_std::byte* _data) = 0;
   };
 }