Stronger no-strings enforcement for dlib functions.

This commit is contained in:
2026-01-07 04:30:31 -05:00
parent 40155b4d57
commit be1bc2571f

View File

@ -16,6 +16,7 @@ struct CharPtrNoStringConversion
char *ptr= nullptr;
operator char *() const noexcept { return ptr; }
operator std::string () const= delete;
};
#ifdef __cplusplus