mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-05 22:02:55 +01:00
Replace all lists with vectors (#815)
This commit is contained in:
@@ -5,8 +5,8 @@
|
||||
#ifndef EXECUTABLE_SEMANTICS_AST_CLASS_DEFINITION_H_
|
||||
#define EXECUTABLE_SEMANTICS_AST_CLASS_DEFINITION_H_
|
||||
|
||||
#include <list>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include "executable_semantics/ast/member.h"
|
||||
#include "executable_semantics/ast/source_location.h"
|
||||
@@ -16,7 +16,7 @@ namespace Carbon {
|
||||
struct ClassDefinition {
|
||||
SourceLocation loc;
|
||||
std::string name;
|
||||
std::list<Ptr<Member>> members;
|
||||
std::vector<Ptr<Member>> members;
|
||||
};
|
||||
|
||||
} // namespace Carbon
|
||||
|
||||
Reference in New Issue
Block a user