Fix typos.

This commit is contained in:
Bruce Mitchener 2020-05-01 08:54:16 +07:00
parent 3ac9540351
commit 559984b2fe
5 changed files with 5 additions and 5 deletions

View File

@ -20,7 +20,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE. THE SOFTWARE.
-- NOTE: Third party dependecy used by this sofware -- -- NOTE: Third party dependency used by this software --
This software depends on the fmt lib (MIT License), This software depends on the fmt lib (MIT License),
and users must comply to its license: https://github.com/fmtlib/fmt/blob/master/LICENSE.rst and users must comply to its license: https://github.com/fmtlib/fmt/blob/master/LICENSE.rst

View File

@ -388,7 +388,7 @@ Below are some [benchmarks](https://github.com/gabime/spdlog/blob/v1.x/bench/ben
[info] daily_mt Elapsed: 0.61 secs 1,638,305/sec [info] daily_mt Elapsed: 0.61 secs 1,638,305/sec
[info] null_mt Elapsed: 0.16 secs 6,272,758/sec [info] null_mt Elapsed: 0.16 secs 6,272,758/sec
``` ```
#### ASynchronous mode #### Asynchronous mode
``` ```
[info] ------------------------------------------------- [info] -------------------------------------------------
[info] Messages : 1,000,000 [info] Messages : 1,000,000

View File

@ -31,7 +31,7 @@ function(spdlog_enable_warnings target_name)
if(SPDLOG_BUILD_WARNINGS) if(SPDLOG_BUILD_WARNINGS)
if (CMAKE_CXX_COMPILER_ID STREQUAL "MSVC") if (CMAKE_CXX_COMPILER_ID STREQUAL "MSVC")
list(APPEND MSVC_OPTIONS "/W3") list(APPEND MSVC_OPTIONS "/W3")
if(MSVC_VERSION GREATER 1900) #Allow non fatal security wanrnings for msvc 2015 if(MSVC_VERSION GREATER 1900) #Allow non fatal security warnings for msvc 2015
list(APPEND MSVC_OPTIONS "/WX") list(APPEND MSVC_OPTIONS "/WX")
endif() endif()
endif() endif()

View File

@ -9,7 +9,7 @@ namespace spdlog {
namespace details { namespace details {
// Extend log_msg with internal buffer to store its payload. // Extend log_msg with internal buffer to store its payload.
// THis is needed since log_msg holds string_views that points to stack data. // This is needed since log_msg holds string_views that points to stack data.
class SPDLOG_API log_msg_buffer : public log_msg class SPDLOG_API log_msg_buffer : public log_msg
{ {

View File

@ -412,7 +412,7 @@ SPDLOG_INLINE bool is_color_terminal() SPDLOG_NOEXCEPT
#endif #endif
} }
// Detrmine if the terminal attached // Determine if the terminal attached
// Source: https://github.com/agauniyal/rang/ // Source: https://github.com/agauniyal/rang/
SPDLOG_INLINE bool in_terminal(FILE *file) SPDLOG_NOEXCEPT SPDLOG_INLINE bool in_terminal(FILE *file) SPDLOG_NOEXCEPT
{ {