mirror of
https://github.com/privacore/open-source-search-engine.git
synced 2025-07-09 01:56:07 -04:00
int/char -> bool in File
This commit is contained in:
2
File.cpp
2
File.cpp
@ -12,7 +12,7 @@
|
||||
|
||||
// THE FOLLOWING IS ALL STATIC 'CUZ IT'S THE FD POOL
|
||||
// if someone is using a file we must make sure this is true...
|
||||
static int s_isInitialized = false;
|
||||
static bool s_isInitialized = false;
|
||||
|
||||
static GbMutex s_mtx;
|
||||
static int64_t s_timestamps [ MAX_NUM_FDS ]; // when was it last accessed
|
||||
|
4
File.h
4
File.h
@ -148,8 +148,8 @@ private:
|
||||
int m_flags;
|
||||
//int m_permissions;
|
||||
|
||||
char m_calledOpen;
|
||||
char m_calledSet;
|
||||
bool m_calledOpen;
|
||||
bool m_calledSet;
|
||||
|
||||
bool m_forceRename;
|
||||
|
||||
|
Reference in New Issue
Block a user