diff --git a/include/ts/DbgCtl.h b/include/ts/DbgCtl.h index d9cd3d64f99..1bd08988e9f 100644 --- a/include/ts/DbgCtl.h +++ b/include/ts/DbgCtl.h @@ -90,6 +90,10 @@ class DbgCtl static void print(char const *tag, char const *file, char const *function, int line, char const *fmt_str, ...) TS_PRINTFLIKE(5, 6); + // No copying/moving. + DbgCtl(DbgCtl const &) = delete; + DbgCtl &operator=(DbgCtl const &) = delete; + private: using _TagData = std::pair;