Skip to content

Commit

Permalink
mv
Browse files Browse the repository at this point in the history
Signed-off-by: Cary Phillips <[email protected]>
  • Loading branch information
cary-ilm committed Nov 19, 2024
1 parent e200711 commit b1146d3
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/test/OpenEXRTest/testAttributes.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -610,8 +610,7 @@ struct TestType

static TestType func ()
{
TestType t;
return t;
return TestType();
}

static TestType arg (TestType a) { return a; }
Expand Down Expand Up @@ -746,7 +745,7 @@ testTypedAttribute ()
A = std::move (B);
TestType::assert_count (0, 0, 0, 0, 0, 1);
TestType::reset ();

std::cout << "A = TestType::func ();" << std::endl;
A = TestType::func ();
TestType::assert_count (1, 1, 0, 0, 0, 1);
Expand Down Expand Up @@ -790,7 +789,7 @@ testTypedAttribute ()
a = testArg (b);
TestType::assert_count (0, 2, 1, 0, 1, 1);
TestType::reset ();

std::cout << "ok." << std::endl;
}

Expand All @@ -816,7 +815,7 @@ testAttributes (const std::string& tempDir)
longNames (pf, filename.c_str (), W, H);

print_type (OPENEXR_IMF_NAMESPACE::TypedAttribute<int> ());

cout << "ok\n" << endl;
}
catch (const std::exception& e)
Expand Down

0 comments on commit b1146d3

Please sign in to comment.