Fix build with clang

Authored by apol on Aug 10 2017, 12:27 PM.

Description

Fix build with clang

In file included from /home/apol/devel/frameworks/kalgebra/src/dictionary.cpp:21:
.../include/Analitza5/analitza/expression.h:120:39: error: 'nodiscard' attribute cannot be applied to types

Expression lambdaBody() const Q_REQUIRED_RESULT;
                              ^

.../include/QtCore/qcompilerdetection.h:1177:31: note: expanded from macro 'Q_REQUIRED_RESULT'

  1. define Q_REQUIRED_RESULT nodiscard ^

Details

Committed
apolAug 10 2017, 12:27 PM
Parents
R323:72f41c7f979f: i18n fix: improve description of PNG
Branches
Unknown
Tags
Unknown
References
HEAD -> master