]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
common: fix string creation from '0' in LogEntry
authorRonen Friedman <rfriedma@redhat.com>
Sun, 3 Mar 2024 14:30:59 +0000 (16:30 +0200)
committerRonen Friedman <rfriedma@redhat.com>
Mon, 4 Mar 2024 15:01:38 +0000 (09:01 -0600)
commitb854bfcc70ff372cd087c068e0302d36ad86391f
treea2205d33da54cbddafefe7dd0a4451b69c127586
parent3e302abb811855cc50266772bfc85ec612d45d44
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>
src/common/LogEntry.cc