ads1115 only
Fork of mbed by
Diff: FileBase.h
- Revision:
- 122:f9eeca106725
- Parent:
- 85:024bf7f99721
- Child:
- 123:b0220dba8be7
--- a/FileBase.h Wed May 25 16:44:06 2016 +0100 +++ b/FileBase.h Thu Jul 07 14:34:11 2016 +0100 @@ -62,15 +62,14 @@ static FileBase *get(int n); -protected: + /* disallow copy constructor and assignment operators */ +private: static FileBase *_head; + static PlatformMutex _mutex; FileBase *_next; - const char *_name; - PathType _path_type; - - /* disallow copy constructor and assignment operators */ -private: + const char * const _name; + const PathType _path_type; FileBase(const FileBase&); FileBase & operator = (const FileBase&); };