use #pragma once
This commit is contained in:
@@ -19,8 +19,7 @@
|
||||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
|
||||
#if !defined( INCLUDED_CONTAINER_ARRAY_H )
|
||||
#define INCLUDED_CONTAINER_ARRAY_H
|
||||
#pragma once
|
||||
|
||||
#include <cstddef>
|
||||
#include <algorithm>
|
||||
@@ -166,5 +165,3 @@ inline void swap( Array<Element, Allocator>& self, Array<Element, Allocator>& ot
|
||||
self.swap( other );
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
@@ -19,8 +19,7 @@
|
||||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
|
||||
#if !defined( INCLUDED_CONTAINER_CACHE_H )
|
||||
#define INCLUDED_CONTAINER_CACHE_H
|
||||
#pragma once
|
||||
|
||||
#include <cstddef>
|
||||
#include "container/hashtable.h"
|
||||
@@ -173,6 +172,3 @@ public:
|
||||
m_map.clear();
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
@@ -19,8 +19,7 @@
|
||||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
|
||||
#if !defined( INCLUDED_CONTAINER_CONTAINER_H )
|
||||
#define INCLUDED_CONTAINER_CONTAINER_H
|
||||
#pragma once
|
||||
|
||||
#include <list>
|
||||
#include <set>
|
||||
@@ -366,6 +365,3 @@ public:
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
@@ -19,8 +19,7 @@
|
||||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
|
||||
#if !defined( INCLUDED_CONTAINER_HASHFUNC_H )
|
||||
#define INCLUDED_CONTAINER_HASHFUNC_H
|
||||
#pragma once
|
||||
|
||||
#include <cctype>
|
||||
#include "string/string.h"
|
||||
@@ -398,7 +397,3 @@ struct HashKeyHasher
|
||||
return key.hash();
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
@@ -19,8 +19,7 @@
|
||||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
|
||||
#if !defined( INCLUDED_CONTAINER_HASHTABLE_H )
|
||||
#define INCLUDED_CONTAINER_HASHTABLE_H
|
||||
#pragma once
|
||||
|
||||
#include <cstddef>
|
||||
#include <algorithm>
|
||||
@@ -406,5 +405,3 @@ public:
|
||||
tmp.swap( *this );
|
||||
}
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -19,8 +19,7 @@
|
||||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
|
||||
#if !defined( INCLUDED_CONTAINER_STACK_H )
|
||||
#define INCLUDED_CONTAINER_STACK_H
|
||||
#pragma once
|
||||
|
||||
#include "memory/allocator.h"
|
||||
#include <algorithm>
|
||||
@@ -207,5 +206,3 @@ inline void swap( Stack<Type>& self, Stack<Type>& other ){
|
||||
self.swap( other );
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user