aboutsummaryrefslogtreecommitdiff
path: root/src/libutil/pool.hh
diff options
context:
space:
mode:
authorRobert Hensing <robert@roberthensing.nl>2022-02-27 12:50:18 +0100
committerRobert Hensing <robert@roberthensing.nl>2022-03-07 16:09:12 +0100
commitda260f579d5f4a66d6d0d0e1297b69666d049d03 (patch)
tree55d383bae3f643638863963b6437e229728be652 /src/libutil/pool.hh
parentbbf55383e7a9914cf79b8879e234f444cc774bfa (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/pool.hh')
0 files changed, 0 insertions, 0 deletions