Skip to content

Commit 61e1e0d

Browse files
committed
Updated docs
1 parent 4f788d5 commit 61e1e0d

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

README.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,10 +83,12 @@ Assertions return a value so they can be integrated seamlessly into code:
8383

8484
Me too, you can enable the lowercase `debug_assert` and `assert` aliases with `-DASSERT_LOWERCASE`.
8585

86-
**Installation:**
86+
**Using the library:**
8787

88-
`make` or cmake the library. Link with it. Additionally you will need to link with libdl on linux and dbghelp on
89-
windows. More details [below](#how-to-use-this-library).
88+
This library is for C++17 and newer.
89+
90+
Use `make` or cmake to build library. Link with it either statically or dynamically. Additionally link with libdl on
91+
linux and dbghelp on windows. More details [below](#how-to-use-this-library).
9092

9193
---
9294

@@ -374,7 +376,8 @@ void custom_fail(asserts::assert_type type, ASSERTION fatal, const asserts::asse
374376
}
375377
break;
376378
default:
377-
ASSERT_DETAIL_PRIMITIVE_ASSERT(false);
379+
std::cerr<<"ERROR: Unknown assertion type encountered during assertion failure handling. Aborting."<<std::endl;
380+
abort();
378381
}
379382
}
380383
```

0 commit comments

Comments
 (0)