mirror of
https://github.com/chromium/crashpad.git
synced 2025-01-14 09:17:57 +08:00
Mark static const class/struct members as constexpr
cl/306269985 Change-Id: I3e6b7021d24260aa1abfad32d30ee0a9289fa3ff Reviewed-on: https://chromium-review.googlesource.com/c/crashpad/crashpad/+/2148677 Reviewed-by: Robert Sesek <rsesek@chromium.org> Commit-Queue: Mark Mentovai <mark@chromium.org>
This commit is contained in:
parent
de43cd3723
commit
b49dcdc48f
@ -85,8 +85,8 @@ void ScopedLockedFileHandleTraits::Free(FileHandle handle) {
|
|||||||
#endif // OS_FUCHSIA
|
#endif // OS_FUCHSIA
|
||||||
|
|
||||||
struct Settings::Data {
|
struct Settings::Data {
|
||||||
static const uint32_t kSettingsMagic = 'CPds';
|
static constexpr uint32_t kSettingsMagic = 'CPds';
|
||||||
static const uint32_t kSettingsVersion = 1;
|
static constexpr uint32_t kSettingsVersion = 1;
|
||||||
|
|
||||||
enum Options : uint32_t {
|
enum Options : uint32_t {
|
||||||
kUploadsEnabled = 1 << 0,
|
kUploadsEnabled = 1 << 0,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user