Small fixes
This commit is contained in:
parent
8bb8a2020c
commit
2e0fa880bc
@ -126,8 +126,8 @@ namespace cpptrace {
|
||||
|
||||
// utilities:
|
||||
CPPTRACE_API std::string demangle(const std::string& name);
|
||||
CPPTRACE_API bool isatty(int fd);
|
||||
CPPTRACE_API void absorb_trace_exceptions(bool absorb);
|
||||
CPPTRACE_API bool isatty(int fd);
|
||||
|
||||
CPPTRACE_API extern const int stdin_fileno;
|
||||
CPPTRACE_API extern const int stderr_fileno;
|
||||
|
||||
@ -324,9 +324,9 @@ namespace cpptrace {
|
||||
return detail::isatty(fd);
|
||||
}
|
||||
|
||||
CPPTRACE_API const int stdin_fileno = detail::fileno(stdin);
|
||||
CPPTRACE_API const int stdout_fileno = detail::fileno(stdout);
|
||||
CPPTRACE_API const int stderr_fileno = detail::fileno(stderr);
|
||||
CPPTRACE_API extern const int stdin_fileno = detail::fileno(stdin);
|
||||
CPPTRACE_API extern const int stdout_fileno = detail::fileno(stdout);
|
||||
CPPTRACE_API extern const int stderr_fileno = detail::fileno(stderr);
|
||||
|
||||
namespace detail {
|
||||
std::atomic_bool absorb_trace_exceptions(true); // NOSONAR
|
||||
|
||||
Loading…
Reference in New Issue
Block a user