fix: moved cstdio to ifdef DEBUG block sa it's only used in test

This commit is contained in:
Sara 2025-06-03 21:52:43 +02:00
parent 64f1ddaa36
commit ea96247ecb

View file

@ -2,7 +2,6 @@
#define SIGNAL_HPP #define SIGNAL_HPP
#include "callable.hpp" #include "callable.hpp"
#include <cstdio>
#include <vector> #include <vector>
/*! Observer-listener implementation /*! Observer-listener implementation
@ -34,6 +33,8 @@ template <class... Args> void Signal<Args...>::invoke(Args... args) {
} }
#ifdef DEBUG #ifdef DEBUG
#include <cstdio>
static inline static inline
void TEST_signals() { void TEST_signals() {
struct A {inline void f(int val) { struct A {inline void f(int val) {