Changeset e7c6250 in mainline for uspace/lib/cpp/src/string.cpp


Ignore:
Timestamp:
2018-07-05T21:41:18Z (6 years ago)
Author:
Dzejrou <dzejrou@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
e1a3ab7
Parents:
82b6716
git-author:
Jaroslav Jindrak <dzejrou@…> (2017-11-03 23:05:10)
git-committer:
Dzejrou <dzejrou@…> (2018-07-05 21:41:18)
Message:

cpp: removed inline identifiers that weren't supposed to be

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/cpp/src/string.cpp

    r82b6716 re7c6250  
    319319#pragma GCC diagnostic push
    320320#pragma GCC diagnostic ignored "-Wliteral-suffix"
    321     inline string operator "" s(const char* str, size_t len)
     321    string operator "" s(const char* str, size_t len)
    322322    {
    323323        return string{str, len};
    324324    }
    325325
    326     inline u16string operator "" s(const char16_t* str, size_t len)
     326    u16string operator "" s(const char16_t* str, size_t len)
    327327    {
    328328        return u16string{str, len};
    329329    }
    330330
    331     inline u32string operator "" s(const char32_t* str, size_t len)
     331    u32string operator "" s(const char32_t* str, size_t len)
    332332    {
    333333        return u32string{str, len};
     
    335335
    336336    /* Problem: wchar_t == int in HelenOS, but standard forbids it.
    337     inline wstring operator "" s(const wchar_t* str, size_t len)
     337    wstring operator "" s(const wchar_t* str, size_t len)
    338338    {
    339339        return wstring{str, len};
Note: See TracChangeset for help on using the changeset viewer.