Skip to content

Commit

Permalink
Merge pull request #918 from leapmotion/fix-fsvs2013
Browse files Browse the repository at this point in the history
Fix VS2013 filesystem shim header problems
  • Loading branch information
Veronica Zheng committed Apr 26, 2016
2 parents 89746f5 + 2239518 commit 32cb985
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions 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 @@ -37,9 +40,9 @@ namespace std {
awfsnamespace::wpath(_Ptr)
{}

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 wchar_t* _Ptr) { *(awfsnamespace::wpath*)this = _Ptr; }
basic_path& operator=(basic_path&& _Right) { return *(awfsnamespace::wpath*)this = std::move(_Right); }
basic_path& operator=(const string_type& _Str) { return *(awfsnamespace::wpath*)this = _Str; }
basic_path& operator=(const wchar_t* _Ptr) { return *(awfsnamespace::wpath*)this = _Ptr; }

path extension(void) const {
return{ awfsnamespace::wpath::extension() };
Expand Down

0 comments on commit 32cb985

Please sign in to comment.