This website works better with JavaScript.
Home
Explore
Help
Sign In
Archivist
/
gplib
Watch
1
Star
1
Fork
0
Code
Issues
8
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Pointers fix
channel
Ludovic 'Archivist' Lagouardette
3 years ago
parent
a570ed4745
commit
edf2075b1e
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
include/gp/utils/pointers.hpp
+ 1
- 1
include/gp/utils/pointers.hpp
View File
@ -36,7 +36,7 @@ namespace gp {
unique_ptr
<
U
>
cast
(
)
{
auto
save
=
data
;
data
=
nullptr
;
return
unique_ptr
<
U
>
(
sa
f
e
,
owner
)
;
return
unique_ptr
<
U
>
(
sa
v
e
,
owner
)
;
}
T
*
operator
-
>
(
)
{
Write
Preview
Loading…
Cancel
Save