aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/google/protobuf/repeated_field_unittest.cc
diff options
context:
space:
mode:
authorGravatar kenton@google.com <kenton@google.com@630680e5-0e50-0410-840e-4b1c322b438d>2009-12-21 21:19:05 +0000
committerGravatar kenton@google.com <kenton@google.com@630680e5-0e50-0410-840e-4b1c322b438d>2009-12-21 21:19:05 +0000
commitd1ce7a2839dbc3b882d9fb8fc01f69ebbfbd0cfd (patch)
tree50dcb3b63de44333fa3f191cbd996e76b2922538 /src/google/protobuf/repeated_field_unittest.cc
parentf2a732938eddd212804db8c87f608cc11325b042 (diff)
Fix build on MSVC.
Diffstat (limited to 'src/google/protobuf/repeated_field_unittest.cc')
-rw-r--r--src/google/protobuf/repeated_field_unittest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/google/protobuf/repeated_field_unittest.cc b/src/google/protobuf/repeated_field_unittest.cc
index cd9ca8a9..7c35f604 100644
--- a/src/google/protobuf/repeated_field_unittest.cc
+++ b/src/google/protobuf/repeated_field_unittest.cc
@@ -794,7 +794,7 @@ TEST_F(RepeatedPtrFieldPtrsIteratorTest, PtrSTLAlgorithms_lower_bound) {
string v = "f";
RepeatedPtrField<string>::pointer_iterator it =
lower_bound(proto_array_.pointer_begin(), proto_array_.pointer_end(),
- v, StringLessThan());
+ &v, StringLessThan());
GOOGLE_CHECK(*it != NULL);