Replace 'virtual' with 'override' in TZ Store 44/290444/4
authorKrzysztof Jackiewicz <k.jackiewicz@samsung.com>
Wed, 22 Mar 2023 08:15:34 +0000 (09:15 +0100)
committerKrzysztof Jackiewicz <k.jackiewicz@samsung.com>
Mon, 27 Mar 2023 08:50:30 +0000 (10:50 +0200)
Change-Id: I5a5406be8a4e8f3429ddb18cc9603a8647ec66a2

src/manager/crypto/tz-backend/store.h

index 145c76b..28b5557 100644 (file)
@@ -31,18 +31,18 @@ class Store : public GStore {
 public:
        explicit Store(CryptoBackend backendId);
 
-       virtual GObjUPtr getObject(const Token &, const Password &);
-       virtual TokenPair generateAKey(const CryptoAlgorithm &,
-                                                                  const Password &,
-                                                                  const Password &,
-                                                                  const RawBuffer &,
-                                                                  const RawBuffer &);
-       virtual Token generateSKey(const CryptoAlgorithm &,
-                                                                  const Password &,
-                                                                  const RawBuffer &);
-       virtual Token import(const Data &, const Password &, const EncryptionParams &,
-                                                                  const RawBuffer &);
-       virtual void destroy(const Token &);
+       GObjUPtr getObject(const Token &, const Password &) override;
+       TokenPair generateAKey(const CryptoAlgorithm &,
+                                                  const Password &,
+                                                  const Password &,
+                                                  const RawBuffer &,
+                                                  const RawBuffer &) override;
+       Token generateSKey(const CryptoAlgorithm &,
+                                          const Password &,
+                                          const RawBuffer &) override;
+       Token import(const Data &, const Password &, const EncryptionParams &,
+                                const RawBuffer &) override;
+       void destroy(const Token &) override;
 
        static RawBuffer pack(const RawBuffer &keyId,
                                                  const Password &pwd,