Move MEMORY_MODE enum inside include guard.
This commit is contained in:
parent
a6f57340d8
commit
81fea73e79
@ -16,6 +16,11 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifndef MEMORY_H_
|
||||||
|
#define MEMORY_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
|
||||||
enum
|
enum
|
||||||
{
|
{
|
||||||
MEMORY_MODE_DEFAULT,
|
MEMORY_MODE_DEFAULT,
|
||||||
@ -23,11 +28,6 @@ enum
|
|||||||
MEMORY_MODE_USAGE_PERCENTAGE
|
MEMORY_MODE_USAGE_PERCENTAGE
|
||||||
};
|
};
|
||||||
|
|
||||||
#ifndef MEMORY_H_
|
|
||||||
#define MEMORY_H_
|
|
||||||
|
|
||||||
#include <string>
|
|
||||||
|
|
||||||
std::string mem_string( bool, int );
|
std::string mem_string( bool, int );
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user