summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/include/debug.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/include/debug.hpp b/lib/include/debug.hpp
index 5ee2ac8..fd90500 100644
--- a/lib/include/debug.hpp
+++ b/lib/include/debug.hpp
@@ -41,6 +41,8 @@ namespace _np {
void debug(Args&... args) {}
template<typename Msg, typename Expr, typename... Args>
- inline T& inspect(const Msg& msg, Expr& expr, const Args&... args) {}
+ inline T& inspect(const Msg& msg, Expr& expr, const Args&... args) {
+ return expr;
+ }
}
#endif