From 2239518074799609fd49325e619d7d6373beecfa Mon Sep 17 00:00:00 2001 From: Jason Lokerson Date: Tue, 26 Apr 2016 12:32:01 -0700 Subject: [PATCH] Add return keyword to the other places where it is missing --- src/autowiring/C++11/filesystem.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/autowiring/C++11/filesystem.h b/src/autowiring/C++11/filesystem.h index 07f4fcd46..0452c0368 100644 --- a/src/autowiring/C++11/filesystem.h +++ b/src/autowiring/C++11/filesystem.h @@ -40,9 +40,9 @@ namespace std { awfsnamespace::wpath(_Ptr) {} - basic_path& operator=(basic_path&& _Right) { *(awfsnamespace::wpath*)this = std::move(_Right); } + 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) { *(awfsnamespace::wpath*)this = _Ptr; } + basic_path& operator=(const wchar_t* _Ptr) { return *(awfsnamespace::wpath*)this = _Ptr; } path extension(void) const { return{ awfsnamespace::wpath::extension() };