diff options
author | Max Kellermann <max@musicpd.org> | 2018-07-16 10:31:42 +0200 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2018-07-16 11:04:05 +0200 |
commit | 86a37d0ed6762a113c3a43af27e8f98bdc8443ec (patch) | |
tree | 02813fe707d68f50232c13d162c17134b62fa176 /src/Main.cxx | |
parent | 2fb5dbe62bae1e5c0ae57bc56fa55a5ba8b191cb (diff) |
Main, pcm/SampleFormat, command/Error: remove obsolete GCC version checks
Diffstat (limited to 'src/Main.cxx')
-rw-r--r-- | src/Main.cxx | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/Main.cxx b/src/Main.cxx index 461272263..619531d33 100644 --- a/src/Main.cxx +++ b/src/Main.cxx @@ -118,13 +118,7 @@ static constexpr size_t MEGABYTE = 1024 * KILOBYTE; static constexpr size_t DEFAULT_BUFFER_SIZE = 4 * MEGABYTE; -static -#if GCC_OLDER_THAN(5,0) -/* gcc 4.x has no "constexpr" for std::max() */ -const -#else -constexpr -#endif +static constexpr size_t MIN_BUFFER_SIZE = std::max(CHUNK_SIZE * 32, 64 * KILOBYTE); |