From f151932043dd76807a1bfbdcf9ea892d7ac9ab0b Mon Sep 17 00:00:00 2001 From: Danilo Date: Sat, 9 Nov 2024 17:33:33 -0300 Subject: [PATCH] =?UTF-8?q?Corre=C3=A7=C3=B5es=20de=20erros=20encotrados?= =?UTF-8?q?=20no=20pipeline?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- includes/pipeline/compiler.hpp | 2 +- includes/pipeline/default.hpp | 4 ++++ includes/xna/csharp/stream.hpp | 2 ++ 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/includes/pipeline/compiler.hpp b/includes/pipeline/compiler.hpp index ff9a7de..5d4cfb1 100644 --- a/includes/pipeline/compiler.hpp +++ b/includes/pipeline/compiler.hpp @@ -3,7 +3,7 @@ #include "xna/default.hpp" #include "xna/csharp/stream.hpp" -#include "pipeline-enums.hpp" +#include "enums.hpp" #include "default.hpp" #include diff --git a/includes/pipeline/default.hpp b/includes/pipeline/default.hpp index 0d8236b..8b27adc 100644 --- a/includes/pipeline/default.hpp +++ b/includes/pipeline/default.hpp @@ -6,9 +6,13 @@ namespace xna { class ContentTypeWriter; class ContentTypeWriterFactory; + class ContentCompiler; + class ContentWriter; using P_ContentTypeWriter = sptr; using P_ContentTypeWriterFactory = sptr; + using P_ContentCompiler = sptr; + using P_ContentWriter = sptr; } #endif \ No newline at end of file diff --git a/includes/xna/csharp/stream.hpp b/includes/xna/csharp/stream.hpp index 527a4db..05e707a 100644 --- a/includes/xna/csharp/stream.hpp +++ b/includes/xna/csharp/stream.hpp @@ -87,6 +87,8 @@ namespace xna { //A simplified port of the System.IO.MemoryStream. class MemoryStream : public Stream { public: + constexpr MemoryStream(){} + constexpr MemoryStream(std::vector const& bytes): _buffer(bytes), _length(static_cast(bytes.size())){}