projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use 'override/final' instead of 'virtual' for overridden methods
[oota-llvm.git]
/
examples
/
ExceptionDemo
/
ExceptionDemo.cpp
diff --git
a/examples/ExceptionDemo/ExceptionDemo.cpp
b/examples/ExceptionDemo/ExceptionDemo.cpp
index d68c05f1222979ca5e4f9619021b2d37dc07a912..fed42b7c2bc10d19c0da6a3b465e6f84173ef97a 100644
(file)
--- a/
examples/ExceptionDemo/ExceptionDemo.cpp
+++ b/
examples/ExceptionDemo/ExceptionDemo.cpp
@@
-1573,7
+1573,7
@@
public:
std::runtime_error::operator=(toCopy)));
}
-
virtual ~OurCppRunException (void) throw ()
{}
+
~OurCppRunException(void) throw() override
{}
};
} // end anonymous namespace