<title>refactor(tvix/libutil): Mark single-argument constructors explicit</title>
<updated>2020-08-23T11:58:44+00:00</updated>
<author>
<name>Vincent Ambo</name>
<email>mail@tazj.in</email>
...</author>
<published>2020-08-21T03:00:55+00:00</published>
<link rel="alternate" type="text/html" href="http://code.tvl.fyi/commit/?id=1cf11317cac2c11d20b2324d4283814f1351c1a3"/>
<id>urn:sha1:1cf11317cac2c11d20b2324d4283814f1351c1a3</id>
<content type="text">
This is the clang-tidy lint 'google-explicit-constructor'.
There's a whole bunch of breakage that was introduced by this, and we
had to opt out a few types of this (esp. the string formatting crap).
In some cases minor other changes have been done to keep the code
working, instead of converting between types (e.g. an explicit
comparison operator implementation for nix::Pid).
Change-Id: I12e1ca51a6bc2c882dba81a2526b9729d26988e7
Reviewed-on: https://cl.tvl.fyi/c/depot/+/1832
Tested-by: BuildkiteCI
Reviewed-by: kanepyork <rikingcoding@gmail.com>
Reviewed-by: glittershark <grfn@gws.fyi>
</content>