mirror of
https://git.mirrors.martin98.com/https://github.com/gulrak/filesystem
synced 2025-06-11 02:36:33 +08:00
Fixed additional warnings and typos in readme.
This commit is contained in:
parent
e57fd540b2
commit
abb4ea8ab9
@ -347,8 +347,8 @@ to the expected behavior.
|
||||
|
||||
### v1.0.3 (wip)
|
||||
|
||||
* Bigfix for #3, fixed missing inlines and added test to ensure including into
|
||||
multiple implementation files works as expected.
|
||||
* Bugfix for ([#3](https://github.com/gulrak/filesystem/issues/3)), fixed missing inlines
|
||||
and added test to ensure including into multiple implementation files works as expected.
|
||||
* Building tests with `-Wall -Wextra -Werror` and fixed resulting issues.
|
||||
|
||||
### [v1.0.2](https://github.com/gulrak/filesystem/tree/v1.0.2)
|
||||
|
@ -252,7 +252,7 @@ TEST_CASE("30.10.8.4.1 path constructors and destructor", "[filesystem][path][fs
|
||||
testUTF8Locale = true;
|
||||
}
|
||||
}
|
||||
catch (std::runtime_error) {
|
||||
catch (std::runtime_error&) {
|
||||
WARN("Couldn't create an UTF-8 locale!");
|
||||
}
|
||||
if (testUTF8Locale) {
|
||||
@ -1711,7 +1711,7 @@ TEST_CASE("30.10.15.19 is_empty", "[filesystem][options][fs.op.is_empty]")
|
||||
CHECK(!fs::is_empty("bar", ec));
|
||||
CHECK(!ec);
|
||||
CHECK_THROWS_AS(fs::is_empty("foobar"), fs::filesystem_error);
|
||||
bool result;
|
||||
bool result = false;
|
||||
CHECK_NOTHROW(result = fs::is_empty("foobar", ec));
|
||||
CHECK(!result);
|
||||
CHECK(ec);
|
||||
|
Loading…
x
Reference in New Issue
Block a user