From 24f5268394dad2a275eca451bf594ee43adcfc1d Mon Sep 17 00:00:00 2001 From: Nils Wentzell Date: Fri, 13 Sep 2019 17:10:35 -0400 Subject: [PATCH] Minor clang-tidy fix in app4triqs.hpp --- c++/app4triqs/app4triqs.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/c++/app4triqs/app4triqs.hpp b/c++/app4triqs/app4triqs.hpp index 88f7550d..0c88608a 100644 --- a/c++/app4triqs/app4triqs.hpp +++ b/c++/app4triqs/app4triqs.hpp @@ -34,7 +34,7 @@ namespace app4triqs { toto &operator=(toto &&) = default; /// Simple accessor - int get_i() const { return i; } + [[nodiscard]] int get_i() const { return i; } /** * A simple function with :math:`G(\tau)`