Remove const return type
This commit is contained in:
parent
ad9613df17
commit
f3ffd7659e
@ -63,7 +63,7 @@ namespace workshop
|
||||
}
|
||||
}
|
||||
|
||||
const std::string get_mod_name(const std::string& mod_id)
|
||||
std::string get_mod_name(const std::string& mod_id)
|
||||
{
|
||||
if (mod_id == "usermaps")
|
||||
{
|
||||
@ -113,7 +113,7 @@ namespace workshop
|
||||
}
|
||||
}
|
||||
|
||||
const std::string get_usermap_publisher_id(const std::string& mapname)
|
||||
std::string get_usermap_publisher_id(const std::string& mapname)
|
||||
{
|
||||
const auto total_usermaps = *reinterpret_cast<unsigned int*>(0x1567B3580_g);
|
||||
|
||||
|
@ -2,8 +2,8 @@
|
||||
|
||||
namespace workshop
|
||||
{
|
||||
const std::string get_usermap_publisher_id(const std::string& mapname);
|
||||
const std::string get_mod_name(const std::string& mod_id);
|
||||
std::string get_usermap_publisher_id(const std::string& mapname);
|
||||
std::string get_mod_name(const std::string& mod_id);
|
||||
bool check_valid_usermap_id(const std::string& mapname, const std::string& pub_id);
|
||||
bool check_valid_mod_id(const std::string& pub_id);
|
||||
void load_mod_if_needed(const std::string& usermap, const std::string& mod);
|
||||
|
Loading…
Reference in New Issue
Block a user