mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-05 22:02:55 +01:00
Use Ptr for Member (#786)
This commit is contained in:
@@ -77,7 +77,7 @@ class FunctionDeclaration : public Declaration {
|
||||
class ClassDeclaration : public Declaration {
|
||||
public:
|
||||
ClassDeclaration(SourceLocation loc, std::string name,
|
||||
std::list<Member*> members)
|
||||
std::list<Ptr<Member>> members)
|
||||
: Declaration(Kind::ClassDeclaration, loc),
|
||||
definition({.loc = loc,
|
||||
.name = std::move(name),
|
||||
|
||||
Reference in New Issue
Block a user