From 3e24f6746fdf68eef6c3276062ac79453144e699 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Wed, 18 Jan 2023 08:34:37 -0500 Subject: [PATCH] spelling: detach Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- includes/assimp/DefaultLogger.hpp | 4 ++-- includes/assimp/Logger.hpp | 2 +- includes/assimp/NullLogger.hpp | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/includes/assimp/DefaultLogger.hpp b/includes/assimp/DefaultLogger.hpp index 52574d5..110e0d0 100644 --- a/includes/assimp/DefaultLogger.hpp +++ b/includes/assimp/DefaultLogger.hpp @@ -125,8 +125,8 @@ public: unsigned int severity); // ---------------------------------------------------------------------- - /** @copydoc Logger::detatchStream */ - bool detatchStream(LogStream *pStream, + /** @copydoc Logger::detachStream */ + bool detachStream(LogStream *pStream, unsigned int severity); diff --git a/includes/assimp/Logger.hpp b/includes/assimp/Logger.hpp index 7f355b5..82e1cf0 100644 --- a/includes/assimp/Logger.hpp +++ b/includes/assimp/Logger.hpp @@ -151,7 +151,7 @@ public: * if the result is 0 the stream is detached from the Logger and * the caller retakes the possession of the stream. * @return true if the stream has been detached, false otherwise.*/ - virtual bool detatchStream(LogStream *pStream, + virtual bool detachStream(LogStream *pStream, unsigned int severity = Debugging | Err | Warn | Info) = 0; protected: diff --git a/includes/assimp/NullLogger.hpp b/includes/assimp/NullLogger.hpp index 64b59a4..e80e3c6 100644 --- a/includes/assimp/NullLogger.hpp +++ b/includes/assimp/NullLogger.hpp @@ -84,7 +84,7 @@ public: } /** @brief Detach a still attached stream from logger */ - bool detatchStream(LogStream *pStream, unsigned int severity) { + bool detachStream(LogStream *pStream, unsigned int severity) { (void)pStream; (void)severity; //this avoids compiler warnings return false; }