diff options
| author | 2023-01-10 21:44:35 +0000 | |
|---|---|---|
| committer | 2023-01-10 21:44:35 +0000 | |
| commit | a982e710418275fee3ea8db6603c82de16182055 (patch) | |
| tree | e460c6f192eddcd7b645287c727740c7074c1154 /src/modules/m_sqloper.cpp | |
| parent | Fix using std::move when not appropriate. (diff) | |
Fix some unnecessary string copies.
Diffstat (limited to 'src/modules/m_sqloper.cpp')
| -rw-r--r-- | src/modules/m_sqloper.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_sqloper.cpp b/src/modules/m_sqloper.cpp index 85a9f7f6c..15b133eb1 100644 --- a/src/modules/m_sqloper.cpp +++ b/src/modules/m_sqloper.cpp @@ -221,7 +221,7 @@ public: { SQL->Submit(new OperQuery(this, my_blocks), query); } - void GetOperBlocks(const std::string u, const std::string& un, const std::string& pw) + void GetOperBlocks(const std::string& u, const std::string& un, const std::string& pw) { active = true; // Call to SQL query to fetch oper list from SQL table. |
