From d59cfd0d4ab5700a92d7248277bb4d128cb130b4 Mon Sep 17 00:00:00 2001 From: Brett Date: Tue, 24 Oct 2023 21:44:24 -0400 Subject: [PATCH] backwards compat --- include/blt/std/memory.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/blt/std/memory.h b/include/blt/std/memory.h index bf1ee68..5eaf4bb 100755 --- a/include/blt/std/memory.h +++ b/include/blt/std/memory.h @@ -87,6 +87,12 @@ namespace blt return 0; } + + template + inline static int fromBytes(const BYTE_TYPE* in, T* out) + { + return fromBytes(in, *out); + } } template