Michele Caini пре 1 година
родитељ
комит
771603f8f6
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      test/entt/signal/sigh.cpp

+ 1 - 1
test/entt/signal/sigh.cpp

@@ -14,7 +14,7 @@ struct sigh_listener {
         return true;
     }
 
-    [[nodiscard]] bool h(const int &) {
+    [[nodiscard]] bool h(const int &) const {
         return val;
     }