summaryrefslogtreecommitdiff
path: root/extra/clucene/clucene-multimap-put.patch
blob: 36ed1fe22b4999f7276017cba879b0582f9c0b33 (plain)
1
2
3
4
5
6
7
8
9
10
--- src/core/CLucene/util/VoidMap.h
+++ src/core/CLucene/util/VoidMap.h
@@ -316,6 +316,7 @@ public:
 		if ( _this::dk || _this::dv )
 			_this::remove(k);
 
+		(*this)[k] = v;
 	}
 };