Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(316)

Unified Diff: services/files/c/tests/mock_errno_impl.h

Issue 1060683002: Update clang, re-enable checker, fix issues it flags (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: services/files/c/tests/mock_errno_impl.h
diff --git a/services/files/c/tests/mock_errno_impl.h b/services/files/c/tests/mock_errno_impl.h
index f9675d063e21251679150eb6dd735dc5a354c2ad..89a08f86cc7d869eaad232aca30bd5928a5c142f 100644
--- a/services/files/c/tests/mock_errno_impl.h
+++ b/services/files/c/tests/mock_errno_impl.h
@@ -17,11 +17,8 @@ class MockErrnoImpl : public ErrnoImpl {
~MockErrnoImpl() override {}
// |ErrnoImpl| implementation:
- int Get() const override { return last_error_; }
- void Set(int error) override {
- last_error_ = error;
- was_set_ = true;
- }
+ int Get() const override;
+ void Set(int error) override;
// Reset to initial state (with specified value for |last_error_|).
void Reset(int error) {

Powered by Google App Engine
This is Rietveld 408576698