Skip to content

Commit 4a6e4d0

Browse files
committed
Apply 130 as a separate commit, closes #130
1 parent 510489b commit 4a6e4d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/cpp2util.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ struct {
352352

353353
template<typename T>
354354
[[nodiscard]] auto cpp2_new(auto&& ...args) -> std::unique_ptr<T> {
355-
return std::make_unique<T>(std::forward<decltype(args)>(args)...);
355+
return unique.cpp2_new<T>(std::forward<decltype(args)>(args)...);
356356
}
357357

358358

0 commit comments

Comments
 (0)