fix TextControl.h warning

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

fix TextControl.h warning

#1 Post by vincele »

The following patch fixes that warning:

Code: Select all

FreeOrion-llvm/GG/GG/TextControl.h:233:12: warning: unelaborated friend declaration is a C++11 extension; specify 'class' to befriend 'GG::StateButton' [-Wc++11-extensions]
    friend StateButton;
           ^
           class

[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
adrian_broher
Programmer
Posts: 1156
Joined: Fri Mar 01, 2013 9:52 am
Location: Germany

Re: fix TextControl.h warning

#2 Post by adrian_broher »

Commited as r7687.
Resident code gremlin
Attached patches are released under GPL 2.0 or later.
Git author: Marcel Metz

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

Re: fix TextControl.h warning

#3 Post by vincele »

Thanks
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!

Post Reply