minor fixees
This commit is contained in:
1 parent
65427bd0f1
commit
0e782cdf99
4 files changed
+27
-43
No files matched your search
@@ -309,18 +309,6 @@ struct Code
|
||||
|
||||
Code& operator ++();
|
||||
|
||||
// TODO(Ed) : Remove this overload.
|
||||
auto& operator*()
|
||||
{
|
||||
local_persist thread_local
|
||||
Code NullRef = { nullptr };
|
||||
|
||||
if ( ast == nullptr )
|
||||
return NullRef;
|
||||
|
||||
return *this;
|
||||
}
|
||||
|
||||
#ifdef GEN_ENFORCE_STRONG_CODE_TYPES
|
||||
# define operator explicit operator
|
||||
#endif
|
||||
|
||||
Reference in new issue
Block a user