Skip to content

Commit 32cb985

Browse files
author
Veronica Zheng
committed
Merge pull request #918 from leapmotion/fix-fsvs2013
Fix VS2013 filesystem shim header problems
2 parents 89746f5 + 2239518 commit 32cb985

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

src/autowiring/C++11/filesystem.h

+6-3
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ namespace std {
2727
path(const string_type& _Str) :
2828
awfsnamespace::wpath(_Str)
2929
{}
30+
path(const awfsnamespace::wpath& _Right) :
31+
awfsnamespace::wpath(_Right)
32+
{}
3033
path(const path& _Right) :
3134
awfsnamespace::wpath(_Right)
3235
{}
@@ -37,9 +40,9 @@ namespace std {
3740
awfsnamespace::wpath(_Ptr)
3841
{}
3942

40-
basic_path& operator=(basic_path&& _Right) { *(awfsnamespace::wpath*)this = std::move(_Right); }
41-
basic_path& operator=(const string_type& _Str) { *(awfsnamespace::wpath*)this = _Str; }
42-
basic_path& operator=(const wchar_t* _Ptr) { *(awfsnamespace::wpath*)this = _Ptr; }
43+
basic_path& operator=(basic_path&& _Right) { return *(awfsnamespace::wpath*)this = std::move(_Right); }
44+
basic_path& operator=(const string_type& _Str) { return *(awfsnamespace::wpath*)this = _Str; }
45+
basic_path& operator=(const wchar_t* _Ptr) { return *(awfsnamespace::wpath*)this = _Ptr; }
4346

4447
path extension(void) const {
4548
return{ awfsnamespace::wpath::extension() };

0 commit comments

Comments
 (0)