[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: Re: kdeutils/klaptopdaemon
From: "Friedrich W. H. Kossebau" <Friedrich.W.H () Kossebau ! de>
Date: 2003-11-06 16:36:57
[Download RAW message or body]
Am Donnerstag, 6. November 2003 15:46 schrieb Dirk Mueller:
> CVS commit by mueller:
>
> no reason to waste cycles
>
>
> M +1 -1 kpcmcia.cpp 1.14
>
>
> --- kdeutils/klaptopdaemon/kpcmcia.cpp #1.13:1.14
> @@ -176,5 +176,5 @@ tv.tv_sec = 0; tv.tv_usec = 0;
> bool foundit = false;
> QString _thisreg = "^Socket %1: ";
> - QRegExp thisreg = _thisreg.arg(_num);
> + QRegExp thisreg ( _thisreg.arg(_num) );
Aren't all compilers expected to do this implictly, to use a constructor when
there is an initialisation by an assignement?
At least this is what I feel to have burned into my head from several books...
Please, anyone?
Friedrich
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic