Browse files

api/queryvector.h: Fix somewhat dubious warning from clang.

git-svn-id: file:///home/xapian-svn/xapian/trunk@16705 6b2f1b92-a4f3-0310-943f-de3cbe41748b
  • Loading branch information...
1 parent 8384931 commit 5e4034bbe9dcdb3da1122101b434942a3549865b @ojwb ojwb committed Jun 5, 2012
Showing with 5 additions and 1 deletion.
  1. +4 −0 xapian-core/ChangeLog
  2. +1 −1 xapian-core/api/queryvector.h
View
4 xapian-core/ChangeLog
@@ -1,3 +1,7 @@
+Tue Jun 05 06:41:22 GMT 2012 Olly Betts <olly@survex.com>
+
+ * api/queryvector.h: Fix somewhat dubious warning from clang.
+
Tue Jun 05 06:33:09 GMT 2012 Olly Betts <olly@survex.com>
* configure.ac: Overhaul handling of compilers which pretend to be GCC,
View
2 xapian-core/api/queryvector.h
@@ -47,7 +47,7 @@ class QueryVector {
public:
const_iterator() { }
- const_iterator(void * const * p) : ptr(p) { }
+ const_iterator(void * const * ptr_) : ptr(ptr_) { }
const_iterator & operator++() { ++ptr; return *this; }

0 comments on commit 5e4034b

Please sign in to comment.