[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    Re: branches/KDE/3.5/kdevelop/src/profileengine/lib
From:       Richard =?utf-8?q?L=C3=A4rk=C3=A4ng?= <nouseforaname () home ! se>
Date:       2005-11-13 18:33:31
Message-ID: 200511131933.31924.nouseforaname () home ! se
[Download RAW message or body]

On Saturday 12 November 2005 01:37, Dirk Mueller wrote:
> SVN commit 479866 by mueller:
>
> return at least something

This breaks compile with gcc 3.4.4 here:

/home/richard/kde-svn/svn/trunk/KDE/kdevelop/src/profileengine/lib/profile.cpp: 
In member function `QStringList& Profile::listByType(Profile::List)':
/home/richard/kde-svn/svn/trunk/KDE/kdevelop/src/profileengine/lib/profile.cpp:142: 
error: invalid initialization of non-const reference of type 'QStringList&' 
from a temporary of type 'QStringList'
Error creating ../../../src/profileengine/lib/profile.lo. Exit status 1.

>
>
>  M  +1 -1      profile.cpp
>
>
> --- branches/KDE/3.5/kdevelop/src/profileengine/lib/profile.cpp
> #479865:479866 @@ -139,7 +139,7 @@
>          case ExplicitDisable:
>              return m_explicitDisable;
>      }
> -//FIXME: What to return here?
> +    return QStringList();
>  }
>
>  bool Profile::hasInEntryList(EntryList &list, QString value)
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic