Skip to content

Commit d4dfaf9

Browse files
committed
fix
1 parent 24f99e6 commit d4dfaf9

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

Common/Cpp/Options/CheckboxDropdownOption.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -46,30 +46,30 @@ class CheckboxDropdownBase : public ConfigOption{
4646

4747
template <typename FlagEnum>
4848
class CheckboxDropdownCell : public CheckboxDropdownBase{
49-
using CheckboxDropdownDatabase = CheckboxDropdownDatabase<FlagEnum>;
49+
using Database = CheckboxDropdownDatabase<FlagEnum>;
5050

5151
public:
5252
CheckboxDropdownCell(
5353
std::string label,
54-
const CheckboxDropdownDatabase& database,
54+
const Database& database,
5555
LockMode lock_while_running,
5656
FlagEnum default_value
5757
);
5858
CheckboxDropdownCell(
5959
std::string label,
60-
const CheckboxDropdownDatabase& database,
60+
const Database& database,
6161
LockMode lock_while_running,
6262
FlagEnum default_value, FlagEnum current_value
6363
);
6464
CheckboxDropdownCell(
6565
std::string label,
66-
CheckboxDropdownDatabase&& database,
66+
Database&& database,
6767
LockMode lock_while_running,
6868
FlagEnum default_value
6969
) = delete;
7070
CheckboxDropdownCell(
7171
std::string label,
72-
CheckboxDropdownDatabase&& database,
72+
Database&& database,
7373
LockMode lock_while_running,
7474
FlagEnum default_value, FlagEnum current_value
7575
) = delete;
@@ -105,7 +105,7 @@ class CheckboxDropdownCell : public CheckboxDropdownBase{
105105

106106

107107
private:
108-
const CheckboxDropdownDatabase& m_database;
108+
const Database& m_database;
109109
const FlagEnum m_default;
110110

111111
mutable SpinLock m_lock;

Common/Cpp/Options/CheckboxDropdownOption.tpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ namespace PokemonAutomation{
2020
template <typename FlagEnum>
2121
CheckboxDropdownCell<FlagEnum>::CheckboxDropdownCell(
2222
std::string label,
23-
const CheckboxDropdownDatabase& database,
23+
const Database& database,
2424
LockMode lock_while_running,
2525
FlagEnum default_value
2626
)
@@ -32,7 +32,7 @@ CheckboxDropdownCell<FlagEnum>::CheckboxDropdownCell(
3232
template <typename FlagEnum>
3333
CheckboxDropdownCell<FlagEnum>::CheckboxDropdownCell(
3434
std::string label,
35-
const CheckboxDropdownDatabase& database,
35+
const Database& database,
3636
LockMode lock_while_running,
3737
FlagEnum default_value, FlagEnum current_value
3838
)

0 commit comments

Comments
 (0)