diff options
author | Roman Perepelitsa <roman.perepelitsa@gmail.com> | 2021-06-10 11:15:02 +0300 |
---|---|---|
committer | Roman Perepelitsa <roman.perepelitsa@gmail.com> | 2021-06-10 11:15:02 +0300 |
commit | 96f3ca173331c5dba505d2ef5106cb0d605ec3be (patch) | |
tree | 4fde241e52a4a67976c46e18bad36f7d0a869e15 /src/options.cc | |
parent | ba83466e1da75d9260ebbb145215d9c46d6eadf6 (diff) |
Squashed 'gitstatus/' changes from 113f1f69..96b520b2
96b520b2 build v1.5.1 binaries for all platforms
ffeb0507 bump version to v1.5.1
1bcbea07 mbuild: disable pacman upgrades on msys
39dbb92f log a warning if unable to parse packed-refs
a9d70ec0 add `-r` flag to gitstatus_start in bash bindings (#241)
abbf9a79 don't use static_assert with one argument as it's not available prior to c++17 (#239)
f8c396e4 drop all tags if packed-refs doesn't have a header line (https://github.com/romkatv/powerlevel10k/issues/1428)
git-subtree-dir: gitstatus
git-subtree-split: 96b520b248ca872646e27b3df4535898356e4637
Diffstat (limited to 'src/options.cc')
-rw-r--r-- | src/options.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/options.cc b/src/options.cc index 1879c424..46f3845c 100644 --- a/src/options.cc +++ b/src/options.cc @@ -54,7 +54,7 @@ long ParseInt(const char* s) { } size_t ParseSizeT(const char* s) { - static_assert(sizeof(long) <= sizeof(size_t)); + static_assert(sizeof(long) <= sizeof(size_t), ""); long res = ParseLong(s); return res >= 0 ? res : -1; } |