Commit ec1b6b12 authored by jan.koester's avatar jan.koester
Browse files

test

parent cc361605
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -244,6 +244,10 @@ size_t libhtmlpp::HtmlString::size() const{
    return _Data.size();
}

size_t libhtmlpp::HtmlString::length() const {
    return _Data.size()-1;
}

const char * libhtmlpp::HtmlString::c_str(){
    _CStr=_Data;
    _CStr.push_back('\0');
+1 −0
Original line number Diff line number Diff line
@@ -259,6 +259,7 @@ namespace libhtmlpp {
        const char* operator*();

        size_t                    size() const;
        size_t                    length() const;
        void                      clear();
        bool                      empty();
        const char *              c_str();