[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: Re: kdelibs/kstyles/highcolor
From: Dirk Mueller <mueller () kde ! org>
Date: 2002-12-30 15:03:06
[Download RAW message or body]
On Mon, 30 Dez 2002, Karol Szwed wrote:
> I don't like this. We had crashes with static global objects in plugins
> before. (e.g. in KWin plugins and with KStyle's static ShadowMap QDict, which
> Lars fixed by using a QSingleCleanupHandler<>)
Well, if there are crashes then its because of the initialisation order, not
because of the use of static.
Those vars should be pointers then which are initialized upon construction.
> An anonymous namespace would have been better imho.
Nope, its not.
--
Dirk (received 224 mails today)
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic