It seems 'export' is a reserved keyword for clang.
This commit is contained in:
parent
f3a4e1146f
commit
08ae855e07
|
@ -28,9 +28,9 @@ ExportResolver::Table::Table(const char* module_name,
|
|||
|
||||
exports_by_name_.reserve(exports_by_ordinal_->size());
|
||||
for (size_t i = 0; i < exports_by_ordinal_->size(); ++i) {
|
||||
auto export = exports_by_ordinal_->at(i);
|
||||
if (export) {
|
||||
exports_by_name_.push_back(export);
|
||||
auto export_entry = exports_by_ordinal_->at(i);
|
||||
if (export_entry) {
|
||||
exports_by_name_.push_back(export_entry);
|
||||
}
|
||||
}
|
||||
std::sort(
|
||||
|
@ -48,9 +48,9 @@ void ExportResolver::RegisterTable(
|
|||
|
||||
all_exports_by_name_.reserve(all_exports_by_name_.size() + exports->size());
|
||||
for (size_t i = 0; i < exports->size(); ++i) {
|
||||
auto export = exports->at(i);
|
||||
if (export) {
|
||||
all_exports_by_name_.push_back(export);
|
||||
auto export_entry = exports->at(i);
|
||||
if (export_entry) {
|
||||
all_exports_by_name_.push_back(export_entry);
|
||||
}
|
||||
}
|
||||
std::sort(
|
||||
|
|
Loading…
Reference in New Issue