diff options
author | Robert Pösel <robyer@seznam.cz> | 2014-12-20 03:22:13 +0000 |
---|---|---|
committer | Robert Pösel <robyer@seznam.cz> | 2014-12-20 03:22:13 +0000 |
commit | 1705273c443d069c82fac78ad34d909513af519b (patch) | |
tree | 0ca1a5a0aa1977ca69afd09371985032da06b45e /protocols/Omegle/src/utils.h | |
parent | 1f70e7a998a41fa0c85b129eb4584d44c166036c (diff) |
Omegle: Various fixes and code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@11541 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Omegle/src/utils.h')
-rw-r--r-- | protocols/Omegle/src/utils.h | 12 |
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
|