This is ambiguous when NULL is defined to an integral constant.
Instead, use the more iodiomatic pattern of {} to construct a default
pointer.
Details
Details
- Reviewers
olce emaste - Commits
- rG26d4ac7a2725: kyua: Don't pass NULL to unique_ptr constructors
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Skipped - Unit
Tests Skipped - Build Status
Buildable 63805 Build 60689: arc lint + arc unit
Event Timeline
Comment Actions
This fixes the build with GCC.
Also included in https://github.com/freebsd/kyua/pull/265