Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mumble-voip/mumble.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert <krzmbrzl@gmail.com>2020-09-11 19:29:33 +0300
committerRobert <krzmbrzl@gmail.com>2020-09-11 19:29:33 +0300
commitaf7dac72f4063dd8d4dac71973ea51c25896089a (patch)
tree35558695aea94d48fd9e77d164d63fd8b7c76e90 /plugins/mumble_plugin_utils.h
parent40b28b03c150b453e00c6bc4f8d6957caea59c51 (diff)
FORMAT: Run clang-format 10 on all C/CXX source-files
Diffstat (limited to 'plugins/mumble_plugin_utils.h')
-rw-r--r--plugins/mumble_plugin_utils.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/mumble_plugin_utils.h b/plugins/mumble_plugin_utils.h
index 21a5bb21a..ea58566bf 100644
--- a/plugins/mumble_plugin_utils.h
+++ b/plugins/mumble_plugin_utils.h
@@ -10,7 +10,7 @@
#include <locale>
static inline std::string utf16ToUtf8(const std::wstring &wstr) {
- std::wstring_convert<std::codecvt_utf8_utf16<wchar_t>> conv;
+ std::wstring_convert< std::codecvt_utf8_utf16< wchar_t > > conv;
return conv.to_bytes(wstr);
}
@@ -33,7 +33,7 @@ static inline std::string utf16ToUtf8(const std::wstring &wstr) {
static inline void escape(char *str, const size_t &size) {
// Ensure the input string is properly NUL-terminated.
str[size - 1] = 0;
- char *c = str;
+ char *c = str;
while (*c != '\0') {
// For JSON compatibility, the string