File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -824,7 +824,7 @@ struct special_attacks_reader : generic_typed_reader<special_attacks_reader> {
824
824
}
825
825
};
826
826
827
- void mtype::load ( const JsonObject &jo, const std::string & src )
827
+ void mtype::load ( const JsonObject &jo, const std::string_view src )
828
828
{
829
829
MonsterGenerator &gen = MonsterGenerator::generator ();
830
830
Original file line number Diff line number Diff line change @@ -605,7 +605,7 @@ struct mtype {
605
605
void faction_display ( catacurses::window &w, const point &top_left, int width ) const ;
606
606
607
607
// Historically located in monstergenerator.cpp
608
- void load ( const JsonObject &jo, const std::string & src );
608
+ void load ( const JsonObject &jo, std::string_view src );
609
609
};
610
610
611
611
#endif // CATA_SRC_MTYPE_H
You can’t perform that action at this time.
0 commit comments