diff --git a/include/crucible/string.h b/include/crucible/string.h index 3c20eda..e16052b 100644 --- a/include/crucible/string.h +++ b/include/crucible/string.h @@ -19,15 +19,6 @@ namespace crucible { memset(that, 0, sizeof(Base)); } - // Copy a base class object (usually a C struct) into a vector - template - vector - vector_copy_struct(Base *that) - { - const uint8_t *begin_that = reinterpret_cast(static_cast(that)); - return vector(begin_that, begin_that + sizeof(Base)); - } - // int->hex conversion with sprintf string to_hex(uint64_t i);