From 6c6d9beb66ac6570ffc38fedfa43d4b49cd18724 Mon Sep 17 00:00:00 2001 From: Amos Jeffries Date: Sat, 26 Sep 2015 15:06:28 -0700 Subject: [PATCH] Fix virtual override keyword issues in Auth::User for clang --- src/auth/basic/User.h | 2 +- src/auth/digest/User.h | 2 +- src/auth/negotiate/User.h | 2 +- src/auth/ntlm/User.h | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/auth/basic/User.h b/src/auth/basic/User.h index 74f893f9f5..8d449d4617 100644 --- a/src/auth/basic/User.h +++ b/src/auth/basic/User.h @@ -34,7 +34,7 @@ public: /** Update the cached password for a username. */ void updateCached(User *from); - virtual int32_t ttl() const; + virtual int32_t ttl() const override; /* Auth::User API */ static CbcPointer Cache(); diff --git a/src/auth/digest/User.h b/src/auth/digest/User.h index fc37110f9f..902a8b2206 100644 --- a/src/auth/digest/User.h +++ b/src/auth/digest/User.h @@ -27,7 +27,7 @@ public: User(Auth::Config *, const char *requestRealm); virtual ~User(); int authenticated() const; - virtual int32_t ttl() const; + virtual int32_t ttl() const override; /* Auth::User API */ static CbcPointer Cache(); diff --git a/src/auth/negotiate/User.h b/src/auth/negotiate/User.h index 3764cbd06b..5c5ecfeaf6 100644 --- a/src/auth/negotiate/User.h +++ b/src/auth/negotiate/User.h @@ -27,7 +27,7 @@ class User : public Auth::User public: User(Auth::Config *, const char *requestRealm); virtual ~User(); - virtual int32_t ttl() const; + virtual int32_t ttl() const override; /* Auth::User API */ static CbcPointer Cache(); diff --git a/src/auth/ntlm/User.h b/src/auth/ntlm/User.h index 57552ac365..9c6fdbaa1d 100644 --- a/src/auth/ntlm/User.h +++ b/src/auth/ntlm/User.h @@ -27,7 +27,7 @@ class User : public Auth::User public: User(Auth::Config *, const char *requestRealm); virtual ~User(); - virtual int32_t ttl() const; + virtual int32_t ttl() const override; /* Auth::User API */ static CbcPointer Cache(); -- 2.47.3