mirror of https://github.com/PCSX2/pcsx2.git
input-rec: Remove unnecessary `extern`s and resolve linter errors
This commit is contained in:
parent
90938b100c
commit
551b52922a
|
@ -19,7 +19,7 @@
|
||||||
|
|
||||||
namespace inputRec
|
namespace inputRec
|
||||||
{
|
{
|
||||||
void log(const std::string log)
|
void log(const std::string& log)
|
||||||
{
|
{
|
||||||
if (log.empty())
|
if (log.empty())
|
||||||
return;
|
return;
|
||||||
|
@ -31,7 +31,7 @@ namespace inputRec
|
||||||
GSosdLog(log.c_str(), wxGetApp().GetProgramLog()->GetRGBA(ConsoleColors::Color_StrongMagenta));
|
GSosdLog(log.c_str(), wxGetApp().GetProgramLog()->GetRGBA(ConsoleColors::Color_StrongMagenta));
|
||||||
}
|
}
|
||||||
|
|
||||||
void consoleLog(const std::string log)
|
void consoleLog(const std::string& log)
|
||||||
{
|
{
|
||||||
if (log.empty())
|
if (log.empty())
|
||||||
return;
|
return;
|
||||||
|
@ -39,7 +39,7 @@ namespace inputRec
|
||||||
recordingConLog(fmt::format("[REC]: {}\n", log));
|
recordingConLog(fmt::format("[REC]: {}\n", log));
|
||||||
}
|
}
|
||||||
|
|
||||||
void consoleMultiLog(std::vector<std::string> logs)
|
void consoleMultiLog(const std::vector<std::string>& logs)
|
||||||
{
|
{
|
||||||
std::string log;
|
std::string log;
|
||||||
for (std::string l : logs)
|
for (std::string l : logs)
|
||||||
|
|
|
@ -28,7 +28,7 @@
|
||||||
|
|
||||||
namespace inputRec
|
namespace inputRec
|
||||||
{
|
{
|
||||||
extern void log(const std::string log);
|
void log(const std::string& log);
|
||||||
extern void consoleLog(const std::string log);
|
void consoleLog(const std::string& log);
|
||||||
extern void consoleMultiLog(std::vector<std::string> logs);
|
void consoleMultiLog(const std::vector<std::string>& logs);
|
||||||
} // namespace inputRec
|
} // namespace inputRec
|
||||||
|
|
Loading…
Reference in New Issue