diff --git a/include/mio/mmap.hpp b/include/mio/mmap.hpp index 91b2f63..cfd15de 100644 --- a/include/mio/mmap.hpp +++ b/include/mio/mmap.hpp @@ -51,7 +51,7 @@ using file_handle_type = int; // This value represents an invalid file handle type. This can be used to // determine whether `basic_mmap::file_handle` is valid, for example. -constexpr static file_handle_type invalid_handle = INVALID_HANDLE_VALUE; +const static file_handle_type invalid_handle = INVALID_HANDLE_VALUE; template struct basic_mmap