From 15fa9a8a6dbce8619118c9f0cea877fbf903700a Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 21 Sep 2013 22:50:50 +0000 Subject: explicit constructors for ptrT git-svn-id: http://svn.miranda-ng.org/main/trunk@6174 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Variables/src/parse_regexp.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/Variables') diff --git a/plugins/Variables/src/parse_regexp.cpp b/plugins/Variables/src/parse_regexp.cpp index 3b8679de6b..2792cf05e5 100644 --- a/plugins/Variables/src/parse_regexp.cpp +++ b/plugins/Variables/src/parse_regexp.cpp @@ -64,9 +64,9 @@ static TCHAR *parseRegExpSubstr(ARGUMENTSINFO *ai) if (ai->argc != 4) return NULL; - ptrA arg1 = mir_t2a(ai->targv[1]); - ptrA arg2 = mir_t2a(ai->targv[2]); - ptrA arg3 = mir_t2a(ai->targv[3]); + ptrA arg1( mir_t2a(ai->targv[1])); + ptrA arg2( mir_t2a(ai->targv[2])); + ptrA arg3( mir_t2a(ai->targv[3])); number = atoi(arg3); if (number < 0) -- cgit v1.2.3