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

Unified Diff: services/files/c/lib/real_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/lib/real_errno_impl.h
diff --git a/services/files/c/lib/real_errno_impl.h b/services/files/c/lib/real_errno_impl.h
index 5f97efb1536a8dd9e5c551a264eaef5d20ea2bf0..8b698e40ffe7a20708699ffec871e00fe508579f 100644
--- a/services/files/c/lib/real_errno_impl.h
+++ b/services/files/c/lib/real_errno_impl.h
@@ -20,8 +20,8 @@ class RealErrnoImpl : public ErrnoImpl {
RealErrnoImpl() {}
~RealErrnoImpl() override {}
- int Get() const override { return errno; }
- void Set(int error) override { errno = error; }
+ int Get() const override;
+ void Set(int error) override;
private:
MOJO_DISALLOW_COPY_AND_ASSIGN(RealErrnoImpl);

Powered by Google App Engine
This is Rietveld 408576698