Skip to content

Commit

Permalink
Fix VS2013 filesystem shim header problems
Browse files Browse the repository at this point in the history
Add a missing overload, fix missing return statement in filesystem shim header for VS2013
  • Loading branch information
codemercenary committed Apr 26, 2016
1 parent 68347d7 commit af3a21e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/autowiring/C++11/filesystem.h
Expand Up @@ -27,6 +27,9 @@ namespace std {
path(const string_type& _Str) :
awfsnamespace::wpath(_Str)
{}
path(const awfsnamespace::wpath& _Right) :
awfsnamespace::wpath(_Right)
{}
path(const path& _Right) :
awfsnamespace::wpath(_Right)
{}
Expand All @@ -38,7 +41,7 @@ namespace std {
{}

basic_path& operator=(basic_path&& _Right) { *(awfsnamespace::wpath*)this = std::move(_Right); }
basic_path& operator=(const string_type& _Str) { *(awfsnamespace::wpath*)this = _Str; }
basic_path& operator=(const string_type& _Str) { return *(awfsnamespace::wpath*)this = _Str; }
basic_path& operator=(const wchar_t* _Ptr) { *(awfsnamespace::wpath*)this = _Ptr; }

path extension(void) const {
Expand Down

0 comments on commit af3a21e

Please sign in to comment.