diff options
author | Robert Hensing <robert@roberthensing.nl> | 2022-02-27 12:50:18 +0100 |
---|---|---|
committer | Robert Hensing <robert@roberthensing.nl> | 2022-03-07 16:09:12 +0100 |
commit | da260f579d5f4a66d6d0d0e1297b69666d049d03 (patch) | |
tree | 55d383bae3f643638863963b6437e229728be652 /src/libutil/fmt.cc | |
parent | bbf55383e7a9914cf79b8879e234f444cc774bfa (diff) |
dupStringWithLen -> makeImmutableString
Refactor the `size == 0` logic into a new helper function that
replaces dupStringWithLen.
The name had to change, because unlike a `dup`-function, it does
not always allocate a new string.
Diffstat (limited to 'src/libutil/fmt.cc')
0 files changed, 0 insertions, 0 deletions