diff options
| author | 2022-01-18 14:33:06 +0000 | |
|---|---|---|
| committer | 2022-01-18 14:33:06 +0000 | |
| commit | 40035385c6ecee61de82b18ff5f823a1ef4db871 (patch) | |
| tree | a705ad2f3097b2e1310e5e579078f5e54234681c /src/threadsocket.cpp | |
| parent | Use C++11-style initialisation for the entity map in httpd_stats. (diff) | |
Add constexpr to the initialisation of various const static fields.
Diffstat (limited to 'src/threadsocket.cpp')
| -rw-r--r-- | src/threadsocket.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/threadsocket.cpp b/src/threadsocket.cpp index 4e56e8f43..f059b704e 100644 --- a/src/threadsocket.cpp +++ b/src/threadsocket.cpp @@ -96,7 +96,7 @@ class ThreadSignalSocket final void Notify() { - static const char dummy = '*'; + static constexpr char dummy = '*'; write(send_fd, &dummy, 1); } |
