summaryrefslogtreecommitdiff
path: root/src/cguittfont
diff options
context:
space:
mode:
authorSfan5 <sfan5@live.de>2014-04-15 19:49:32 +0200
committerSfan5 <sfan5@live.de>2014-04-15 21:34:53 +0200
commit118e2ae865bd7a0020586ef72d05bf14d66f4eae (patch)
tree5da3d9bc1d4e26e7e75f61b5ea10916161f29cba /src/cguittfont
parentd436502fa499255236350fc9204f9c508414704e (diff)
downloadminetest-118e2ae865bd7a0020586ef72d05bf14d66f4eae.tar.gz
minetest-118e2ae865bd7a0020586ef72d05bf14d66f4eae.tar.bz2
minetest-118e2ae865bd7a0020586ef72d05bf14d66f4eae.zip
Fix all warnings reported by clang
Diffstat (limited to 'src/cguittfont')
-rw-r--r--src/cguittfont/irrUString.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/cguittfont/irrUString.h b/src/cguittfont/irrUString.h
index 21109ea48..132a35ee2 100644
--- a/src/cguittfont/irrUString.h
+++ b/src/cguittfont/irrUString.h
@@ -3395,7 +3395,7 @@ inline ustring16<TAlloc> operator+(const ustring16<TAlloc>& left, const short ri
template <typename TAlloc>
inline ustring16<TAlloc> operator+(const short left, const ustring16<TAlloc>& right)
{
- ustring16<TAlloc> ret(core::stringc(left));
+ ustring16<TAlloc> ret((core::stringc(left)));
ret += right;
return ret;
}
@@ -3415,7 +3415,7 @@ inline ustring16<TAlloc> operator+(const ustring16<TAlloc>& left, const unsigned
template <typename TAlloc>
inline ustring16<TAlloc> operator+(const unsigned short left, const ustring16<TAlloc>& right)
{
- ustring16<TAlloc> ret(core::stringc(left));
+ ustring16<TAlloc> ret((core::stringc(left)));
ret += right;
return ret;
}
@@ -3435,7 +3435,7 @@ inline ustring16<TAlloc> operator+(const ustring16<TAlloc>& left, const int righ
template <typename TAlloc>
inline ustring16<TAlloc> operator+(const int left, const ustring16<TAlloc>& right)
{
- ustring16<TAlloc> ret(core::stringc(left));
+ ustring16<TAlloc> ret((core::stringc(left)));
ret += right;
return ret;
}
@@ -3455,7 +3455,7 @@ inline ustring16<TAlloc> operator+(const ustring16<TAlloc>& left, const unsigned
template <typename TAlloc>
inline ustring16<TAlloc> operator+(const unsigned int left, const ustring16<TAlloc>& right)
{
- ustring16<TAlloc> ret(core::stringc(left));
+ ustring16<TAlloc> ret((core::stringc(left)));
ret += right;
return ret;
}
@@ -3475,7 +3475,7 @@ inline ustring16<TAlloc> operator+(const ustring16<TAlloc>& left, const long rig
template <typename TAlloc>
inline ustring16<TAlloc> operator+(const long left, const ustring16<TAlloc>& right)
{
- ustring16<TAlloc> ret(core::stringc(left));
+ ustring16<TAlloc> ret((core::stringc(left)));
ret += right;
return ret;
}
@@ -3495,7 +3495,7 @@ inline ustring16<TAlloc> operator+(const ustring16<TAlloc>& left, const unsigned
template <typename TAlloc>
inline ustring16<TAlloc> operator+(const unsigned long left, const ustring16<TAlloc>& right)
{
- ustring16<TAlloc> ret(core::stringc(left));
+ ustring16<TAlloc> ret((core::stringc(left)));
ret += right;
return ret;
}
@@ -3515,7 +3515,7 @@ inline ustring16<TAlloc> operator+(const ustring16<TAlloc>& left, const float ri
template <typename TAlloc>
inline ustring16<TAlloc> operator+(const float left, const ustring16<TAlloc>& right)
{
- ustring16<TAlloc> ret(core::stringc(left));
+ ustring16<TAlloc> ret((core::stringc(left)));
ret += right;
return ret;
}
@@ -3535,7 +3535,7 @@ inline ustring16<TAlloc> operator+(const ustring16<TAlloc>& left, const double r
template <typename TAlloc>
inline ustring16<TAlloc> operator+(const double left, const ustring16<TAlloc>& right)
{
- ustring16<TAlloc> ret(core::stringc(left));
+ ustring16<TAlloc> ret((core::stringc(left)));
ret += right;
return ret;
}