diff --git a/src/wstring.h b/src/wstring.h index b7a37ac1..8019a29f 100644 --- a/src/wstring.h +++ b/src/wstring.h @@ -84,7 +84,7 @@ namespace etl ///\param length The number of characters. Default = npos. //************************************************************************* wstring(const etl::wstring& other, size_t position, size_t length = npos) - : wstring(reinterpret_cast(&buffer), MAX_SIZE) + : iwstring(reinterpret_cast(&buffer), MAX_SIZE) { ETL_ASSERT(position < other.size(), ETL_ERROR(string_out_of_bounds)); @@ -187,4 +187,4 @@ namespace etl #define min(a,b) (((a) < (b)) ? (a) : (b)) #endif -#endif \ No newline at end of file +#endif