mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-26 17:21:21 +00:00
Use Ptr for Member (#786)
This commit is contained in:
1 parent
3ec550a85f
commit
e93a361032
6 files changed
+11
-11
No files matched your search
@@ -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