aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--api/direct_bt/BTTypes1.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/direct_bt/BTTypes1.hpp b/api/direct_bt/BTTypes1.hpp
index 7cdd6a4e..62db76ef 100644
--- a/api/direct_bt/BTTypes1.hpp
+++ b/api/direct_bt/BTTypes1.hpp
@@ -62,7 +62,7 @@ namespace direct_bt {
void checkValidInstance() const override {
if( !isValidInstance() ) {
- throw jau::IllegalStateException("BTObject::checkValidInstance: Invalid object: "+toString(), E_FILE_LINE);
+ throw jau::IllegalStateException("BTObject::checkValidInstance: Invalid object: "+jau::to_hexstring(this), E_FILE_LINE);
}
}
};