Merge remote-tracking branch 'origin/development' into feature/add_circle-ci_support

This commit is contained in:
John Wellbelove 2019-12-06 10:25:29 +00:00
parent b8708722ae
commit 58805d76cc
5 changed files with 5 additions and 4 deletions

View File

@ -6,6 +6,7 @@ AppVeyor
![build status](https://gitlab.com/ETLCPP/etl/badges/master/build.svg)
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/3c14cd918ccf40008d0bcd7b083d5946)](https://www.codacy.com/manual/jwellbelove/etl?utm_source=github.com&utm_medium=referral&utm_content=ETLCPP/etl&utm_campaign=Badge_Grade)
[![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://opensource.org/licenses/MIT)
[![Github All Releases](https://img.shields.io/github/downloads/ETLCPP/etl/total.svg)]()
**Motivation**

View File

@ -258,7 +258,7 @@ namespace etl
template<const size_t MAX_SIZE>
etl::string<MAX_SIZE - 1> make_string(const char (&text) [MAX_SIZE])
{
return etl::string<MAX_SIZE - 1>(text);
return etl::string<MAX_SIZE - 1>(text, MAX_SIZE - 1);
}
}

View File

@ -258,7 +258,7 @@ namespace etl
template<const size_t MAX_SIZE>
etl::u16string<MAX_SIZE - 1> make_string(const char16_t (&text) [MAX_SIZE])
{
return etl::u16string<MAX_SIZE - 1>(text);
return etl::u16string<MAX_SIZE - 1>(text, MAX_SIZE - 1);
}
}

View File

@ -258,7 +258,7 @@ namespace etl
template<const size_t MAX_SIZE>
etl::u32string<MAX_SIZE - 1> make_string(const char32_t (&text) [MAX_SIZE])
{
return etl::u32string<MAX_SIZE - 1>(text);
return etl::u32string<MAX_SIZE - 1>(text, MAX_SIZE - 1);
}
}

View File

@ -259,7 +259,7 @@ namespace etl
template<const size_t MAX_SIZE>
etl::wstring<MAX_SIZE - 1> make_string(const wchar_t (&text) [MAX_SIZE])
{
return etl::wstring<MAX_SIZE - 1>(text);
return etl::wstring<MAX_SIZE - 1>(text, MAX_SIZE - 1);
}
}