Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Mar 4, 2023. It is now read-only.

Commit a6152f4

Browse files
committed
AwaitedException: mark as override "raise" and "clone" methods.
Removes warnings and allow building on stricter compilers.
1 parent fc3a890 commit a6152f4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/restclient/restreplyawaitable.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,9 @@ class Q_RESTCLIENT_EXPORT AwaitedException : public ExceptionBase
5252
const char *what() const noexcept override;
5353

5454
//! @inherit{QException::raise}
55-
virtual Q_NORETURN void raise() const;
55+
virtual Q_NORETURN void raise() const override;
5656
//! @inherit{QException::clone}
57-
virtual ExceptionBase *clone() const;
57+
virtual ExceptionBase *clone() const override;
5858

5959
protected:
6060
//! @private

0 commit comments

Comments
 (0)