[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [nepomuk-core] services/storage/query: Fix build for gcc 4.4 under mingw
From: Andre Heinecke <aheinecke () intevation ! de>
Date: 2012-09-01 8:38:11
Message-ID: 20120901083811.C1BFEA6094 () git ! kde ! org
[Download RAW message or body]
Git commit eaeae8d1249b451247f12c62c6e0e37ee183be75 by Andre Heinecke.
Committed on 01/09/2012 at 10:32.
Pushed by aheinecke into branch 'master'.
Fix build for gcc 4.4 under mingw
At least gcc 4.4.7 under mingw failed here with
cc1plus.exe: error: candidates are: #'tree_list' not
supported by dump_decl#<declaration error>
I think this is because in the Namespace Nepomuk2
Query is also a namespace. Explicitly naming the
type fixed this.
M +1 -1 services/storage/query/folder.cpp
http://commits.kde.org/nepomuk-core/eaeae8d1249b451247f12c62c6e0e37ee183be75
diff --git a/services/storage/query/folder.cpp b/services/storage/query/folder.cpp
index 689d3b6..2a4e51d 100644
--- a/services/storage/query/folder.cpp
+++ b/services/storage/query/folder.cpp
@@ -104,7 +104,7 @@ namespace {
}
}
- void intiWatcherForQuery(ResourceWatcher* watcher, const Query::Query& query) {
+ void intiWatcherForQuery(ResourceWatcher* watcher, const Nepomuk2::Query::Query& query) {
// The empty property is for comparison terms which do not have a property
// in that case we want to monitor all properties
bool emptyProperty = false;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic