Explorar el Código

Improved IWriter interface

- simplified signature of "write" method
Patrick hace 4 años
padre
commit
16d0fdeadf
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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;
   };
 }