diff options
author | Goraf <22941576+Goraf@users.noreply.github.com> | 2018-02-24 15:32:06 +0100 |
---|---|---|
committer | Goraf <22941576+Goraf@users.noreply.github.com> | 2018-02-24 18:20:46 +0100 |
commit | 1c0172cca4f1e90679321912e20436a7f42f122d (patch) | |
tree | 77a544d2c09332ec176f42ebcf58a40d9c5d2b93 /utils/std_string_utils.h | |
parent | dff565f40105b20b0e8e4dba1f48ccc9b8e7ff44 (diff) |
more nullptr
Diffstat (limited to 'utils/std_string_utils.h')
-rw-r--r-- | utils/std_string_utils.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/std_string_utils.h b/utils/std_string_utils.h index 6608d7a0d9..ad130d12b1 100644 --- a/utils/std_string_utils.h +++ b/utils/std_string_utils.h @@ -56,7 +56,7 @@ namespace utils namespace number
{
- int random(int min, int max, unsigned int *value = NULL);
+ int random(int min, int max, unsigned int *value = nullptr);
};
namespace text
@@ -72,7 +72,7 @@ namespace utils std::string source_get_value(std::string* data, unsigned int argument_count, ...);
std::string source_get_value2(std::string* data, const char *term, const char *endings, bool wholeString = false);
std::string source_get_form_data(std::string* data, bool hiddenOnly = false);
- std::string rand_string(int len, const char *chars = "0123456789" "ABCDEFGHIJKLMNOPQRSTUVWXYZ" "abcdefghijklmnopqrstuvwxyz", unsigned int *number = NULL);
+ std::string rand_string(int len, const char *chars = "0123456789" "ABCDEFGHIJKLMNOPQRSTUVWXYZ" "abcdefghijklmnopqrstuvwxyz", unsigned int *number = nullptr);
std::string truncate_utf8(const std::string &text, size_t maxLength);
void explode(std::string str, const std::string &separator, std::vector<std::string>* results);
void append_ordinal(unsigned long value, std::string* data);
|