Browse Source

config: ENTT_NOEXCEPTION -> ENTT_NO_EXCEPTION

skypjack 4 months ago
parent
commit
3ab0000b31
2 changed files with 3 additions and 3 deletions
  1. 2 2
      docs/md/config.md
  2. 1 1
      src/entt/config/config.h

+ 2 - 2
docs/md/config.md

@@ -4,7 +4,7 @@
 
 * [Introduction](#introduction)
 * [Definitions](#definitions)
-  * [ENTT_NOEXCEPTION](#entt_noexception)
+  * [ENTT_NO_EXCEPTION](#entt_no_exception)
   * [ENTT_USE_ATOMIC](#entt_use_atomic)
   * [ENTT_ID_TYPE](#entt_id_type)
   * [ENTT_SPARSE_PAGE](#entt_sparse_page)
@@ -33,7 +33,7 @@ Each parameter can result in internal library definitions. It is not recommended
 to try to also modify these definitions, since there is no guarantee that they
 will remain stable over time unlike the options below.
 
-## ENTT_NOEXCEPTION
+## ENTT_NO_EXCEPTION
 
 Define this variable without assigning any value to it to turn off exception
 handling in `EnTT`.<br/>

+ 1 - 1
src/entt/config/config.h

@@ -5,7 +5,7 @@
 
 // NOLINTBEGIN(cppcoreguidelines-macro-usage)
 
-#if defined(__cpp_exceptions) && !defined(ENTT_NOEXCEPTION)
+#if defined(__cpp_exceptions) && !defined(ENTT_NO_EXCEPTION)
 #    define ENTT_THROW throw
 #    define ENTT_TRY try
 #    define ENTT_CATCH catch(...)