-
Notifications
You must be signed in to change notification settings - Fork 907
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[C++]: change member name to avoid macro issues. For #405.
- Loading branch information
1 parent
dc44c82
commit e30cc3a
Showing
2 changed files
with
10 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -77,9 +77,7 @@ class MemoryMappedFile | |
|
||
std::uint8_t* m_memory = 0; | ||
size_t m_memorySize = 0; | ||
#if !defined(PAGE_SIZE) | ||
static size_t PAGE_SIZE; | ||
#endif | ||
static size_t m_page_size; | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
tmontgomery
Author
Contributor
|
||
static bool fill(FileHandle fd, size_t sz, std::uint8_t); | ||
|
||
#ifdef _WIN32 | ||
|
Should this be static? What if multiple clients are used in the same process to different drivers?