From cae76dd98e301a4560bb46ecb59b5952dff04149 Mon Sep 17 00:00:00 2001 From: Jonathan Bradley Date: Thu, 20 Mar 2025 15:56:35 -0400 Subject: pke: cleanup std stream usage --- src/plugin-types.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/plugin-types.hpp') diff --git a/src/plugin-types.hpp b/src/plugin-types.hpp index 319960d..f7a119b 100644 --- a/src/plugin-types.hpp +++ b/src/plugin-types.hpp @@ -2,13 +2,13 @@ #define PKE_PLUGIN_TYPES_HPP #include -#include +#include constexpr int64_t CallbackSignatureLength = 16; using CallbackSignature = char[CallbackSignatureLength]; -typedef void (*DeserializeDelegate)(std::ifstream *stream); -typedef void (*SerializeDelegate)(std::ifstream *stream); +typedef void (*DeserializeDelegate)(std::istream *stream); +typedef void (*SerializeDelegate)(std::istream *stream); typedef void (*CollisionDelegate)(const void *entHandleLeft, const void *entHandleRight); struct PkeEntityTypeInterface { -- cgit v1.2.3