Commit 2bbff77e authored by Max Kellermann's avatar Max Kellermann

OutputControl: convert anonymous enum to constexpr

parent 3315c67f
......@@ -36,11 +36,9 @@
#include <assert.h>
#include <stdlib.h>
enum {
/** after a failure, wait this number of seconds before
automatically reopening the device */
REOPEN_AFTER = 10,
};
/** after a failure, wait this number of seconds before
automatically reopening the device */
static constexpr unsigned REOPEN_AFTER = 10;
struct notify audio_output_client_notify;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment