style(tvix): Replace remaining typedefs with using statements
Change (mostly) created via: fd . -e hh -e cc | parallel clang-tidy -p ~/builds/nix --fix "'--checks=-*,modernize-use-using'" Change-Id: I90ad6e64a5399f2005dfb9956074ec51c2c78cea Reviewed-on: https://cl.tvl.fyi/c/depot/+/1830 Tested-by: BuildkiteCI Reviewed-by: glittershark <grfn@gws.fyi>
This commit is contained in:
parent
674d921202
commit
7edbe59c6c
16 changed files with 48 additions and 45 deletions
2
third_party/nix/src/libutil/serialise.hh
vendored
2
third_party/nix/src/libutil/serialise.hh
vendored
|
|
@ -195,7 +195,7 @@ struct LambdaSink : Sink {
|
|||
|
||||
/* Convert a function into a source. */
|
||||
struct LambdaSource : Source {
|
||||
typedef std::function<size_t(unsigned char*, size_t)> lambda_t;
|
||||
using lambda_t = std::function<size_t(unsigned char*, size_t)>;
|
||||
|
||||
lambda_t lambda;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue