File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
SerialPrograms/Source/PokemonLA/Options Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ WildTravelLocationOption::WildTravelLocationOption()
2121 )
2222{}
2323
24- WildTravelLocationOption::operator TravelLocation () const {
24+ WildTravelLocationOption::operator const TravelLocation& () const {
2525 size_t index = this ->current_value ();
2626 return TravelLocations::instance ()[index];
2727}
@@ -36,7 +36,7 @@ AllTravelLocationOption::AllTravelLocationOption()
3636 )
3737{}
3838
39- AllTravelLocationOption::operator TravelLocation () const {
39+ AllTravelLocationOption::operator const TravelLocation& () const {
4040 size_t index = this ->current_value ();
4141 return TravelLocations::instance ()[index];
4242}
Original file line number Diff line number Diff line change @@ -19,14 +19,14 @@ namespace PokemonLA{
1919class WildTravelLocationOption : public IntegerEnumDropdownOption {
2020public:
2121 WildTravelLocationOption ();
22- operator TravelLocation () const ;
22+ operator const TravelLocation& () const ;
2323};
2424
2525// All locations in WildTravelLocationOption + Jubilife village warp points
2626class AllTravelLocationOption : public IntegerEnumDropdownOption {
2727public:
2828 AllTravelLocationOption ();
29- operator TravelLocation () const ;
29+ operator const TravelLocation& () const ;
3030};
3131
3232
You can’t perform that action at this time.
0 commit comments