X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fargumentstore.h;h=e7a3c5594e3a60f075d7e12eee85368d70eb802b;hb=refs%2Fheads%2Fwip;hp=c2d5d76f3dbb473c613840c7f92dd9320fa07d5b;hpb=3b78eeb8b92dc3524d6a0456b4daf0a0f3dbf813;p=libs%2Fdatafile.git diff --git a/source/argumentstore.h b/source/argumentstore.h index c2d5d76..e7a3c55 100644 --- a/source/argumentstore.h +++ b/source/argumentstore.h @@ -10,12 +10,18 @@ class ArgumentStore { private: const StatementInfo &info; - char *store; + char *store = nullptr; public: ArgumentStore(const StatementInfo &); + ArgumentStore(const ArgumentStore &); + ArgumentStore &operator=(const ArgumentStore &); ~ArgumentStore(); +private: + void destroy(); + void copy_from(const char *); +public: const StatementInfo &get_info() const { return info; } template