summaryrefslogtreecommitdiff
path: root/extra/stardict/NetDictRequests.patch
blob: 4d6fe145a52bf408ced5db818e3ca235ed8d63c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff -aur old/dict/src/lib/compositelookup.cpp new/dict/src/lib/compositelookup.cpp
--- old/dict/src/lib/compositelookup.cpp	2011-07-02 23:58:40.000000000 -0700
+++ new/dict/src/lib/compositelookup.cpp	2011-07-18 07:40:01.795710505 -0700
@@ -50,7 +50,7 @@
 void CompositeLookup::send_net_dict_request(const std::string& dict_id, const std::string& key)
 {
 	NetDictRequest request(dict_id, key);
-	g_assert(NetDictRequests.end() == std::find(NetDictRequests.begin(), NetDictRequests.end(), request));
+	std::find(NetDictRequests.begin(), NetDictRequests.end(), request);
 	NetDictRequests.push_back(request);
 }