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

List:       kde-commits
Subject:    [nepomuk-core] autotests/test: Disambiguate to allow compilation with OSX's gcc.
From:       Till Adam <till () kdab ! com>
Date:       2012-10-12 10:29:30
Message-ID: 20121012102930.BD530A6075 () git ! kde ! org
[Download RAW message or body]

Git commit 901e11ec45cf13e6a4a448c85b7603a5004bd169 by Till Adam.
Committed on 12/10/2012 at 12:29.
Pushed by tilladam into branch 'master'.

Disambiguate to allow compilation with OSX's gcc.

M  +3    -2    autotests/test/querytests.cpp

http://commits.kde.org/nepomuk-core/901e11ec45cf13e6a4a448c85b7603a5004bd169

diff --git a/autotests/test/querytests.cpp b/autotests/test/querytests.cpp
index 8417599..a6e08ff 100644
--- a/autotests/test/querytests.cpp
+++ b/autotests/test/querytests.cpp
@@ -295,7 +295,8 @@ void QueryTests::resourceTypeTerm_data()
 =

     // Resource Type Term
     {
-        Query::Query query( ResourceTypeTerm( NAO::Tag() ) );
+        ResourceTypeTerm term( NAO::Tag() );
+        Query::Query query( term );
 =

         QSet<QUrl> uris;
         NepomukStatementIterator it( RDF::type() );
@@ -1135,4 +1136,4 @@ void QueryTests::fileQueries_data()
 =

 }
 =

-QTEST_KDEMAIN(Nepomuk2::QueryTests, NoGUI)
\ No newline at end of file
+QTEST_KDEMAIN(Nepomuk2::QueryTests, NoGUI)
[prev in list] [next in list] [prev in thread] [next in thread] 

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