mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
ceftests: Format with clang-tidy (see #3632)
This commit is contained in:
@@ -8,14 +8,16 @@
|
||||
|
||||
class TrackCallback {
|
||||
public:
|
||||
TrackCallback() : gotit_(false) {}
|
||||
TrackCallback() = default;
|
||||
void yes() { gotit_ = true; }
|
||||
bool isSet() { return gotit_; }
|
||||
void reset() { gotit_ = false; }
|
||||
|
||||
// Code relies on this not being marked explicit. NOLINTNEXTLINE
|
||||
operator bool() const { return gotit_; }
|
||||
|
||||
protected:
|
||||
bool gotit_;
|
||||
bool gotit_ = false;
|
||||
};
|
||||
|
||||
#endif // CEF_TESTS_CEFTESTS_TRACK_CALLBACK_H_
|
||||
|
Reference in New Issue
Block a user