It seems 'export' is a reserved keyword for clang.

This commit is contained in:
sephiroth99 2015-09-22 03:02:06 -04:00 committed by Ben Vanik
parent f3a4e1146f
commit 08ae855e07
1 changed files with 6 additions and 6 deletions

View File

@ -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(