mirror of
https://github.com/open-goal/jak-project
synced 2026-07-04 05:20:56 -04:00
wip
This commit is contained in:
@@ -144,7 +144,7 @@ TEST(CommonUtil, PowerOfTwo) {
|
||||
}
|
||||
|
||||
TEST(CommonUtil, CopyOnWrite) {
|
||||
CopyOnWrite<int> x(2);
|
||||
CopyOnWrite<int> x = make_cow<int>(2);
|
||||
|
||||
EXPECT_EQ(*x, 2);
|
||||
*x.mut() = 3;
|
||||
|
||||
Reference in New Issue
Block a user