Skip to content
Browse files

Image: Accidental non-use of parameter in TestImageResource

  • Loading branch information...
1 parent f256ec2 commit 509aee332d9d3c3b07391b7f14b8cf5127688aee Zack Moratto committed Sep 12, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/vw/Image/tests/TestImageResource.cxx
View
2 src/vw/Image/tests/TestImageResource.cxx
@@ -151,7 +151,7 @@ struct TestStream : public ::testing::Test {
void CHECK(const char* e, const char* a, size_t size = 0) const {
if (size == 0) size = SIZE;
- EXPECT_RANGE_EQ(e, e+SIZE, a, a+SIZE);
+ EXPECT_RANGE_EQ(e, e+size, a, a+size);
}
void CANARY(char* loc, size_t size = 0) const {
assert(size <= SIZE);

0 comments on commit 509aee3

Please sign in to comment.
Something went wrong with that request. Please try again.