parent
fe5ca6e686
commit
13afbe10ca
@ -0,0 +1,12 @@
|
||||
diff -up chromium-84.0.4147.89/base/check_op.h.el-constexpr chromium-84.0.4147.89/base/check_op.h
|
||||
--- chromium-84.0.4147.89/base/check_op.h.el-constexpr 2020-07-18 09:38:18.700433097 -0400
|
||||
+++ chromium-84.0.4147.89/base/check_op.h 2020-07-18 09:38:26.698306359 -0400
|
||||
@@ -124,7 +124,7 @@ class CheckOpResult {
|
||||
// A non-success result. expr_str is something like "foo != bar". v1_str and
|
||||
// v2_str are the stringified run-time values of foo and bar. Takes ownership
|
||||
// of v1_str and v2_str.
|
||||
- BASE_EXPORT CheckOpResult(const char* expr_str, char* v1_str, char* v2_str);
|
||||
+ BASE_EXPORT constexpr CheckOpResult(const char* expr_str, char* v1_str, char* v2_str);
|
||||
|
||||
// Returns true if the check succeeded.
|
||||
constexpr explicit operator bool() const { return !message_; }
|
Loading…
Reference in new issue