Skip to content

Commit 8046dfa

Browse files
Bug, Optional operator=无限递归Bug
1 parent ce73139 commit 8046dfa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/YY/Base/Containers/Optional.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ namespace YY
146146
{
147147
if (_oOther.HasValue())
148148
{
149-
operator=(_oOther);
149+
operator=(_oOther.GetValue());
150150
}
151151
else
152152
{

0 commit comments

Comments
 (0)