Skip to content

Commit 8362330

Browse files
committed
still losing against clang...
1 parent e015b51 commit 8362330

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

code/lab/dialogs/lab_ui.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ void LabUi::build_weapon_subtype_list() const
9393
}
9494
}
9595

96-
void LabUi::build_prop_subtype_list() const
96+
void LabUi::build_prop_subtype_list()
9797
{
9898
for (auto& propc : Prop_categories) {
9999
with_TreeNode(propc.name.c_str())

code/lab/dialogs/lab_ui.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class LabUi {
2828
static void build_asteroid_list();
2929
static void build_debris_list();
3030
void build_prop_list() const;
31-
void build_prop_subtype_list() const;
31+
static void build_prop_subtype_list();
3232
void build_background_list() const;
3333
void show_render_options();
3434
void show_object_options() const;

code/prop/prop.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ void parse_prop_table(const char* filename)
162162
Warning(LOCATION, "+remove flag used for prop in non-modular table");
163163
}
164164
if (!remove_prop) {
165-
Removed_props.push_back(fname);
165+
Removed_props.emplace_back(fname);
166166
remove_prop = true;
167167
}
168168
}

0 commit comments

Comments
 (0)