Skip to content

Commit

Permalink
refs #9, added missing return statement
Browse files Browse the repository at this point in the history
  • Loading branch information
gulrak committed Mar 20, 2019
1 parent e8218fe commit d780c18
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -351,6 +351,11 @@ to the expected behavior.
## Release Notes
### v1.0.10 (wip)
* Bugfix for ([#9](https://github.com/gulrak/filesystem/issues/9)), added
missing return statement to `ghc::filesystem::path::generic_string()`
### [v1.0.8](https://github.com/gulrak/filesystem/releases/tag/v1.0.8)
* Bugfix for ([#6](https://github.com/gulrak/filesystem/issues/6)), where
Expand Down
4 changes: 2 additions & 2 deletions filesystem.h
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@
#define LWG_2937_BEHAVIOUR

// ghc::filesystem version in decimal (major * 10000 + minor * 100 + patch)
#define GHC_FILESYSTEM_VERSION 10008L
#define GHC_FILESYSTEM_VERSION 10009L

namespace ghc {
namespace filesystem {
Expand Down Expand Up @@ -2018,7 +2018,7 @@ inline std::u32string path::u32string() const
template <class EcharT, class traits, class Allocator>
std::basic_string<EcharT, traits, Allocator> path::generic_string(const Allocator& a) const
{
detail::fromUtf8<std::basic_string<EcharT, traits, Allocator>>(_path, a);
return detail::fromUtf8<std::basic_string<EcharT, traits, Allocator>>(_path, a);
}

inline const std::string& path::generic_string() const
Expand Down

0 comments on commit d780c18

Please sign in to comment.