fix version
This commit is contained in:
parent
bebc25fb8e
commit
ce8d0176cb
@ -31,12 +31,12 @@ int f(int a)
|
||||
|
||||
int plus(int a)
|
||||
{
|
||||
return a++;
|
||||
return ++a;
|
||||
}
|
||||
|
||||
int minus(int a)
|
||||
{
|
||||
return a--;
|
||||
return --a;
|
||||
}
|
||||
|
||||
struct ForTypeTrace
|
||||
|
@ -1,7 +1,7 @@
|
||||
project(
|
||||
'hack',
|
||||
'cpp',
|
||||
# version : run_command('jq', '-r', '.version', join_paths(meson.source_root(), 'props.json'), check: true).stdout().strip(),
|
||||
version: '1.0.0',
|
||||
default_options : [
|
||||
'warning_level=1',
|
||||
'optimization=3',
|
||||
|
@ -1,2 +0,0 @@
|
||||
{"version": "0.0.3"}
|
||||
|
@ -5,6 +5,7 @@
|
||||
|
||||
namespace hack::string
|
||||
{
|
||||
// подсчет кол-ва символов
|
||||
inline std::size_t utf8_len(const std::string& utf8)
|
||||
{
|
||||
return std::wstring_convert<std::codecvt_utf8<char32_t>, char32_t>{}.from_bytes(utf8).size();
|
||||
|
Loading…
Reference in New Issue
Block a user