mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-08-21 16:23:46 +08:00
util.cc: reduce two read_file functions into one (#20655)
* no need to malloc one extra byte * combine two read_file into a faster one * cleanup #include * use resize * apply suggestions from review * space * rebase master old-commit-hash: fe2f63849ae467fee70c72d18fa52a184c056331
This commit is contained in:
@@ -1,2 +1,2 @@
|
||||
Import('env', 'cereal', 'messaging')
|
||||
env.Program('proclogd.cc', LIBS=[cereal, messaging, 'pthread', 'zmq', 'capnp', 'kj'])
|
||||
Import('env', 'cereal', 'messaging', 'common')
|
||||
env.Program('proclogd.cc', LIBS=[cereal, messaging, 'pthread', 'zmq', 'capnp', 'kj', 'common'])
|
||||
|
||||
Reference in New Issue
Block a user