diff options
author | George Hazan <george.hazan@gmail.com> | 2013-03-05 10:10:05 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-03-05 10:10:05 +0000 |
commit | 4c6a2d621787f09537487b1ba4df9ac3123fca63 (patch) | |
tree | aca59d9fcb0f65c7bf844d017b641a116fee7df6 /plugins | |
parent | 7150cca19a6b50c0df3d6907259b8c2a7594b6fc (diff) |
compilation fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@3890 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/PluginUpdater/src/Common.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/plugins/PluginUpdater/src/Common.h b/plugins/PluginUpdater/src/Common.h index 76c478b6f9..2b2c23d43b 100644 --- a/plugins/PluginUpdater/src/Common.h +++ b/plugins/PluginUpdater/src/Common.h @@ -166,6 +166,13 @@ int SafeCreateFilePath(TCHAR *pFolder); #define db_free(A) DBFreeVariant(A)
#define db_set_s(A,B,C,D) DBWriteContactSettingString(A,B,C,D)
+struct VARST : public mir_ptr<TCHAR>
+{
+ __forceinline VARST(const TCHAR *str) :
+ mir_ptr<TCHAR>( Utils_ReplaceVarsT(str))
+ {}
+};
+
template<class T> class mir_ptr
{
T *data;
|