From bcdce9633dc351d3bc7f347a165348b8fab87cd9 Mon Sep 17 00:00:00 2001 From: HampusM Date: Tue, 15 Feb 2022 12:33:52 +0100 Subject: refactor: reorganize files & improve classes --- src/utils/smart_string.hpp | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 src/utils/smart_string.hpp (limited to 'src/utils/smart_string.hpp') diff --git a/src/utils/smart_string.hpp b/src/utils/smart_string.hpp deleted file mode 100644 index 6390465..0000000 --- a/src/utils/smart_string.hpp +++ /dev/null @@ -1,20 +0,0 @@ -#pragma once - -class SmartString -{ -public: - explicit SmartString(char *c_str); - explicit SmartString(unsigned int size); - SmartString(const SmartString &smart_str); - SmartString(SmartString &&smart_str) noexcept; - - SmartString &operator=(const SmartString &smart_str); - - SmartString &operator=(SmartString &&smart_str) noexcept; - - ~SmartString(); - - explicit operator char *() const; - - char *c_str = nullptr; -}; -- cgit v1.2.3-18-g5258