projects
/
folly.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Mark FormatArg::error as noreturn
[folly.git]
/
folly
/
FormatArg.h
diff --git
a/folly/FormatArg.h
b/folly/FormatArg.h
index 6f25299e5217c647825452a1661386f08aa0e8ab..701654b3397453a8a59e7c924c0a6ff08ff858dc 100644
(file)
--- a/
folly/FormatArg.h
+++ b/
folly/FormatArg.h
@@
-211,7
+211,7
@@
inline std::string FormatArg::errorStr(Args&&... args) const {
}
template <typename... Args>
-inline void FormatArg::error(Args&&... args) const {
+
[[noreturn]]
inline void FormatArg::error(Args&&... args) const {
throw BadFormatArg(errorStr(std::forward<Args>(args)...));
}