OutputControl: convert anonymous enum to constexpr

This commit is contained in:
Max Kellermann 2013-10-20 13:52:26 +02:00
parent 3315c67f0f
commit 2bbff77e48

View File

@ -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;