aboutsummaryrefslogtreecommitdiff
path: root/gitstatus/src/options.cc
diff options
context:
space:
mode:
authorRoman Perepelitsa <roman.perepelitsa@gmail.com>2021-06-10 11:15:02 +0300
committerRoman Perepelitsa <roman.perepelitsa@gmail.com>2021-06-10 11:15:02 +0300
commitf5d61840ae3a4f8c2765e1a67d94d9a96de71601 (patch)
treee874d0b6a3a8937bead255412ccc0da733aace2c /gitstatus/src/options.cc
parent4ba3c010f6fa66dcf7d785251c80c416454b6e90 (diff)
parent96f3ca173331c5dba505d2ef5106cb0d605ec3be (diff)
Merge commit '96f3ca173331c5dba505d2ef5106cb0d605ec3be'v1.15.0
Diffstat (limited to 'gitstatus/src/options.cc')
-rw-r--r--gitstatus/src/options.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gitstatus/src/options.cc b/gitstatus/src/options.cc
index 1879c424..46f3845c 100644
--- a/gitstatus/src/options.cc
+++ b/gitstatus/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;
}