Fixed additional warnings and typos in readme.

This commit is contained in:
Steffen Schuemann 2018-11-06 00:18:19 +01:00
parent e57fd540b2
commit abb4ea8ab9
2 changed files with 4 additions and 4 deletions

View File

@ -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)

View File

@ -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);