Skip to content

Commit b38feb1

Browse files
author
John Wellbelove
committed
Minor layout changes
1 parent 15cbb12 commit b38feb1

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

include/etl/platform.h

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -242,22 +242,22 @@ SOFTWARE.
242242
#endif
243243

244244
//*************************************
245-
// Indicate if C++ exceptions are enabled.
245+
// Indicate if C++ exceptions within the ETL are enabled.
246246
#if defined(ETL_THROW_EXCEPTIONS)
247-
#define ETL_USING_EXCEPTIONS 1
247+
#define ETL_USING_EXCEPTIONS 1
248248
#define ETL_NOT_USING_EXCEPTIONS 0
249249
#else
250-
#define ETL_USING_EXCEPTIONS 0
250+
#define ETL_USING_EXCEPTIONS 0
251251
#define ETL_NOT_USING_EXCEPTIONS 1
252252
#endif
253253

254254
//*************************************
255255
// Indicate if C++ exceptions are enabled for debug asserts.
256256
#if ETL_IS_DEBUG_BUILD && defined(ETL_DEBUG_THROW_EXCEPTIONS)
257-
#define ETL_DEBUG_USING_EXCEPTIONS 1
257+
#define ETL_DEBUG_USING_EXCEPTIONS 1
258258
#define ETL_DEBUG_NOT_USING_EXCEPTIONS 0
259259
#else
260-
#define ETL_DEBUG_USING_EXCEPTIONS 0
260+
#define ETL_DEBUG_USING_EXCEPTIONS 0
261261
#define ETL_DEBUG_NOT_USING_EXCEPTIONS 1
262262
#endif
263263

@@ -342,8 +342,8 @@ SOFTWARE.
342342
#define ETL_ENUM_CLASS_TYPE(name, type) enum class name : type
343343
#define ETL_LVALUE_REF_QUALIFIER &
344344
#if ETL_USING_EXCEPTIONS
345-
#define ETL_NOEXCEPT noexcept
346-
#define ETL_NOEXCEPT_EXPR(...) noexcept(__VA_ARGS__)
345+
#define ETL_NOEXCEPT noexcept
346+
#define ETL_NOEXCEPT_EXPR(...) noexcept(__VA_ARGS__)
347347
#else
348348
#define ETL_NOEXCEPT
349349
#define ETL_NOEXCEPT_EXPR(...)

0 commit comments

Comments
 (0)