diff options
author | Zeno Albisser <zeno.albisser@theqtcompany.com> | 2014-11-28 12:44:25 +0100 |
---|---|---|
committer | Zeno Albisser <zeno.albisser@digia.com> | 2014-11-28 16:53:45 +0100 |
commit | ad46ffd2e74b17cd7e7b8a7d73590696cc8febce (patch) | |
tree | 9cf55207b0c5c8af4768d44307070e7420638c9f /src/core/type_conversion.h | |
parent | 6f31d1282f773a56620ec7e3e068b9967806fdeb (diff) |
For correctness fileListingHelper template function must return some value.
Change-Id: I8f1c109bfeae72971539a68dfd1216d1bd185951
Reviewed-by: Andras Becsi <andras.becsi@digia.com>
Diffstat (limited to 'src/core/type_conversion.h')
-rw-r--r-- | src/core/type_conversion.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/type_conversion.h b/src/core/type_conversion.h index be59c97b8..f88e5dd21 100644 --- a/src/core/type_conversion.h +++ b/src/core/type_conversion.h @@ -154,7 +154,7 @@ inline base::FilePath toFilePath(const QString &str) } template <typename T> -inline T fileListingHelper(const QString &) {qFatal("Specialization missing for %s.", Q_FUNC_INFO);} +inline T fileListingHelper(const QString &) {qFatal("Specialization missing for %s.", Q_FUNC_INFO); return T(); } template <> inline ui::SelectedFileInfo fileListingHelper<ui::SelectedFileInfo>(const QString &file) |