Added support for completely disabling noexcept using MIJIN_TEST_NO_NOEXCEPT (for testing).
This commit is contained in:
@@ -12,6 +12,7 @@
|
||||
#include <string>
|
||||
#include "../async/coroutine.hpp"
|
||||
#include "../container/typeless_buffer.hpp"
|
||||
#include "../internal/common.hpp"
|
||||
#include "../types/result.hpp"
|
||||
#include "../util/exception.hpp"
|
||||
|
||||
@@ -421,7 +422,7 @@ mijin::Task<StreamError> Stream::c_readAsString(std::basic_string<TChar>& outStr
|
||||
}
|
||||
|
||||
|
||||
inline const char* errorName(StreamError error) noexcept
|
||||
inline const char* errorName(StreamError error) MIJIN_NOEXCEPT
|
||||
{
|
||||
switch (error)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user