File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -6,12 +6,12 @@ namespace opencv_test { namespace {
66
77/* *
88 * Makes sure that
9- * - creating, reassigning and comparing `cvv::util::Reference<int>`s (from /src/util/util.hpp) works,
9+ * - creating, reassigning and comparing `cvv::util::Reference<int>`s (from /src/util/util.hpp) works,
1010 * as well as the
1111 * - `makeRef()` and `getPtr()` functions; that
1212 * - `Reference<const int>`s can be created with `makeRef(const int)`, `{const int}` initializer list
13- * and via `Reference<const int>{int}` and, finally, that
14- * - `cvv::util::Reference`s of super classes can be constructed with derived classes and
13+ * and via `Reference<const int>{int}` and, finally, that
14+ * - `cvv::util::Reference`s of super classes can be constructed with derived classes and
1515 * - `Reference`s to base classes can be `castTo()` `References` to the derived classes, but not the other way.
1616 */
1717
@@ -71,7 +71,7 @@ TEST(ReferenceTest, ConstRefs)
7171
7272TEST (ReferenceTest, ConstRefsFromMutable)
7373{
74- int i;
74+ int i = 0 ;
7575 Reference<const int > ref{ i };
7676 EXPECT_EQ (ref.getPtr (), &i);
7777}
You can’t perform that action at this time.
0 commit comments