InfoPanels class constructor base class namespace

Programmers discuss here anything related to FreeOrion programming. Primarily for the developers to discuss.

Moderator: Committer

Post Reply
Message
Author
User avatar
vincele
Space Dragon
Posts: 341
Joined: Sun Mar 23, 2014 6:10 pm

InfoPanels class constructor base class namespace

#1 Post by vincele »

I was wondering why some classes's ctors in InfoPanels.cpp were calling base class ctors without the GG:: namespace prefix, whereas some others did.
Yes, it does not matter to the compiler (at least the one I currently use), but code cleanliness may matter anyway...
So, here's a patch that fixes this inconsistency.

[The extension diff has been deactivated and can no longer be displayed.]

All the patches I'll provide for freeorion will be released under the GPL v2 or later license.
Let's unleash the dyson forest powa!

User avatar
Geoff the Medio
Programming, Design, Admin
Posts: 13587
Joined: Wed Oct 08, 2003 1:33 am
Location: Munich

Re: InfoPanels class constructor base class namespace

#2 Post by Geoff the Medio »

OK... can't really argue with it. Committed.

Post Reply