]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: Make the _day operator"" internals big-endian. 34704/head
authorJasper Spaans <jasper@startmail.com>
Thu, 23 Apr 2020 07:05:30 +0000 (09:05 +0200)
committerJasper Spaans <jasper@startmail.com>
Thu, 23 Apr 2020 07:30:34 +0000 (09:30 +0200)
commit8d0da4ea9c260fece7ad8fbc0ebb6769e9e9305e
treeb9a1ade4a9f034c2423f01c1172b346ba6721cee
parente6fe7f44af6748005f5fe42ea877299b8e736c95
osd: Make the _day operator"" internals big-endian.

A rather trivial change inspired by PR #34702, where an instance of
7*60*60*24 (used to describe the number of seconds in a week) was fixed,
decided to have a look at the code and cleaned a similar case of weird-endian-ness.

Signed-off-by: Jasper Spaans <jasper@startmail.com>
src/common/options.cc