summaryrefslogtreecommitdiff
path: root/protocols/Omegle/src/utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Omegle/src/utils.h')
-rw-r--r--protocols/Omegle/src/utils.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/protocols/Omegle/src/utils.h b/protocols/Omegle/src/utils.h
index dc22deffbb..420f736ff8 100644
--- a/protocols/Omegle/src/utils.h
+++ b/protocols/Omegle/src/utils.h
@@ -31,17 +31,17 @@ namespace utils
namespace text
{
- void replace_first( std::string* data, std::string from, std::string to );
- void replace_all( std::string* data, std::string from, std::string to );
- void treplace_all(std::tstring* data, std::tstring from, std::tstring to);
+ void replace_first( std::string* data, const std::string &from, const std::string &to );
+ void replace_all( std::string* data, const std::string &from, const std::string &to );
+ void treplace_all(std::tstring* data, const std::tstring &from, const std::tstring &to);
std::string special_expressions_decode( std::string data );
- std::string slashu_to_utf8( std::string data );
- std::string trim( std::string data );
+ std::string slashu_to_utf8(const std::string &data );
+ std::string trim(const std::string &data );
};
namespace debug
{
- int log(std::string file_name, std::string text);
+ int log(const std::string &file_name, const std::string &text);
};
namespace mem