]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
common: fix string creation from '0' in LogEntry 58890/head
authorRonen Friedman <rfriedma@redhat.com>
Sun, 3 Mar 2024 14:30:59 +0000 (16:30 +0200)
committerMatan Breizman <mbreizma@redhat.com>
Sun, 28 Jul 2024 10:40:57 +0000 (13:40 +0300)
commit40169c168e8b09c797c847ab48f4e4a56e745833
tree72620bb855d7857f075084c1334620023a555e7a
parent5a4601994355afbd8708d3ef8def15c2b9706ff6
common: fix string creation from '0' in LogEntry

C++23 disallows conversion from 'int' to 'string'.
That includes returning '0' from a function that returns a string.

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
(cherry picked from commit b854bfcc70ff372cd087c068e0302d36ad86391f)
Signed-off-by: Matan Breizman <mbreizma@redhat.com>
src/common/LogEntry.cc