This website works better with JavaScript.
Home
Explore
Help
Sign In
visus
/
scope-guard
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Type T of reference_wrapper fixed (
fixes
#125
).
main
offa
6 years ago
parent
488a91851a
commit
f8f77b132e
1 changed files
with
2 additions
and
2 deletions
Split View
Show Diff Stats
+2
-2
include/detail/wrapper.h
+ 2
- 2
include/detail/wrapper.h
View File
@@ -105,12 +105,12 @@ namespace sr::detail
}
using type = std::reference_wrapper<T>;
using type = std::reference_wrapper<
std::remove_reference_t<
T
>
>;
private:
std::reference_wrapper<T>
m_value;
type
m_value;
};
}
Write
Preview
Loading…
Cancel
Save