Skip to content

Commit 55add1d

Browse files
committed
1 parent 38d4897 commit 55add1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

peglib.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3010,7 +3010,7 @@ struct AstBase : public Annotation
30103010
const std::string token;
30113011

30123012
std::vector<std::shared_ptr<AstBase<Annotation>>> nodes;
3013-
std::shared_ptr<AstBase<Annotation>> parent;
3013+
std::weak_ptr<AstBase<Annotation>> parent;
30143014
};
30153015

30163016
template <typename T>

0 commit comments

Comments
 (0)