Codechange: Remove some unnecessary c_str() when passing std::strings. (#12532)
Functions have been updated from `char *` to `std::string` since without removing `c_str()`.
This commit is contained in:
@@ -63,7 +63,7 @@ public:
|
||||
std::string extension = "-social.so";
|
||||
#endif
|
||||
|
||||
this->FileScanner::Scan(extension.c_str(), SOCIAL_INTEGRATION_DIR, false);
|
||||
this->FileScanner::Scan(extension, SOCIAL_INTEGRATION_DIR, false);
|
||||
}
|
||||
|
||||
bool AddFile(const std::string &filename, size_t basepath_length, const std::string &) override
|
||||
|
||||
Reference in New Issue
Block a user