ceftests: Format with clang-tidy (see #3632)

This commit is contained in:
Marshall Greenblatt
2024-01-20 12:00:09 -05:00
parent 0a64bb6f9b
commit befa827da1
57 changed files with 569 additions and 673 deletions

View File

@@ -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_