From ac2fcf6f2ff54b95295ad589a18876563242607d Mon Sep 17 00:00:00 2001 From: John Wellbelove Date: Sat, 18 Jun 2016 08:01:09 +0100 Subject: [PATCH] Added missing constructor. --- src/basic_string.h | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/src/basic_string.h b/src/basic_string.h index 1a5d5059..b329cb95 100644 --- a/src/basic_string.h +++ b/src/basic_string.h @@ -49,13 +49,13 @@ SOFTWARE. namespace etl { - template //*************************************************************************** /// A basic_string implementation that uses a fixed size buffer. ///\tparam T The element type. ///\tparam MAX_SIZE_ The maximum number of elements that can be stored. ///\ingroup basic_string //*************************************************************************** + template class basic_string : public ibasic_string { public: @@ -71,17 +71,6 @@ namespace etl ibasic_string::initialise(); } - //************************************************************************* - /// Constructor, with size. - ///\param initialSize The initial size of the basic_string. - //************************************************************************* - explicit basic_string(size_t count, T c) - : ibasic_string(reinterpret_cast(&buffer), MAX_SIZE) - { - ibasic_string::initialise(); - ibasic_string::resize(initialSize); - } - //************************************************************************* /// Constructor, from null terminated text. ///\param text The initial text of the basic_string.