Commit 3d71e59f authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧

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'
 #  define Q_REQUIRED_RESULT [[nodiscard]]
parent 72f41c7f
......@@ -117,7 +117,7 @@ class ANALITZA_EXPORT Expression
* Returns the expression of the lambda body (without resolving the dependencies)
Expression lambdaBody() const Q_REQUIRED_RESULT;
Expression lambdaBody() const /*Q_REQUIRED_RESULT*/;
* Returns whether it is a vector expression.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment