diff options
author | George Hazan <george.hazan@gmail.com> | 2013-09-21 22:50:50 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-09-21 22:50:50 +0000 |
commit | 15fa9a8a6dbce8619118c9f0cea877fbf903700a (patch) | |
tree | e63fd66f3332fa62103a7a71fc043a11b3b5f1fe /plugins/Variables | |
parent | c4645924a1a945ddf1c02c60450b8b9ca0363c65 (diff) |
explicit constructors for ptrT
git-svn-id: http://svn.miranda-ng.org/main/trunk@6174 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Variables')
-rw-r--r-- | plugins/Variables/src/parse_regexp.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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)
|