Convert to pragma once
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
#ifndef WRAP_BYTELL_HASH_MAP_HPP
|
||||
#define WRAP_BYTELL_HASH_MAP_HPP
|
||||
#pragma once
|
||||
|
||||
#include "eng-malloc.hpp"
|
||||
#include "bytell-hash-map.hpp"
|
||||
@@ -10,5 +9,3 @@ class bytell_hash_map : public ska::bytell_hash_map<K, V, H, E, eng::allocator<s
|
||||
using ska::bytell_hash_map<K, V, H, E, eng::allocator<std::pair<const K, V>>>::bytell_hash_map;
|
||||
};
|
||||
} // namespace eng
|
||||
|
||||
#endif // WRAP_BYTELL_HASH_MAP_HPP
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
#ifndef WRAP_DEQUE_HPP
|
||||
#define WRAP_DEQUE_HPP
|
||||
#pragma once
|
||||
|
||||
#include "eng-malloc.hpp"
|
||||
#include <deque>
|
||||
@@ -10,5 +9,3 @@ class deque : public std::deque<T, eng::allocator<T>>, public eng::opnew {
|
||||
using std::deque<T, eng::allocator<T>>::deque;
|
||||
};
|
||||
} // namespace eng
|
||||
|
||||
#endif // WRAP_DEQUE_HPP
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
#ifndef WRAP_MAP_HPP
|
||||
#define WRAP_MAP_HPP
|
||||
#pragma once
|
||||
|
||||
#include "eng-malloc.hpp"
|
||||
#include <map>
|
||||
@@ -10,5 +9,3 @@ class map : public std::map<K, V, C, eng::allocator<std::pair<const K, V>>>, eng
|
||||
using std::map<K, V, C, eng::allocator<std::pair<const K, V>>>::map;
|
||||
};
|
||||
} // namespace eng
|
||||
|
||||
#endif // WRAP_MAP_HPP
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
#ifndef WRAP_SET_HPP
|
||||
#define WRAP_SET_HPP
|
||||
#pragma once
|
||||
|
||||
#include "eng-malloc.hpp"
|
||||
#include <set>
|
||||
@@ -10,5 +9,3 @@ class set : public std::set<K, C, eng::allocator<K>>, public eng::opnew {
|
||||
using std::set<K, C, eng::allocator<K>>::set;
|
||||
};
|
||||
} // namespace eng
|
||||
|
||||
#endif // WRAP_SET_HPP
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
#ifndef WRAP_SSTREAM_HPP
|
||||
#define WRAP_SSTREAM_HPP
|
||||
#pragma once
|
||||
|
||||
#include "eng-malloc.hpp"
|
||||
#include "wrap-string.hpp"
|
||||
@@ -16,5 +15,3 @@ class basic_ostringstream : public std::basic_ostringstream<C, T, eng::allocator
|
||||
using ostringstream = basic_ostringstream<char>;
|
||||
//using stringbuf = basic_stringbuf<char>;
|
||||
} // namespace eng
|
||||
|
||||
#endif // WRAP_SSTREAM_HPP
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
#ifndef WRAP_STRING_HPP
|
||||
#define WRAP_STRING_HPP
|
||||
#pragma once
|
||||
|
||||
#include "eng-malloc.hpp"
|
||||
#include <string>
|
||||
@@ -11,5 +10,3 @@ using string = basic_string<char>;
|
||||
using u32string = basic_string<char32_t>;
|
||||
using u16string = basic_string<char16_t>;
|
||||
} // namespace eng
|
||||
|
||||
#endif // WRAP_STRING_HPP
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
#ifndef WRAP_UNORDERED_MAP_HPP
|
||||
#define WRAP_UNORDERED_MAP_HPP
|
||||
#pragma once
|
||||
|
||||
#include "eng-malloc.hpp"
|
||||
#include <unordered_map>
|
||||
@@ -10,5 +9,3 @@ class unordered_map : public std::unordered_map<K, V, H, E, eng::allocator<std::
|
||||
using std::unordered_map<K, V, H, E, eng::allocator<std::pair<const K, V>>>::unordered_map;
|
||||
};
|
||||
} // namespace eng
|
||||
|
||||
#endif // WRAP_UNORDERED_MAP_HPP
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
#ifndef WRAP_UNORDERED_SET_HPP
|
||||
#define WRAP_UNORDERED_SET_HPP
|
||||
#pragma once
|
||||
|
||||
#include "eng-malloc.hpp"
|
||||
#include <unordered_set>
|
||||
@@ -10,5 +9,3 @@ class unordered_set : public std::unordered_set<K, H, E, eng::allocator<K>>, pub
|
||||
using std::unordered_set<K, H, E, eng::allocator<K>>::unordered_set;
|
||||
};
|
||||
} // namespace eng
|
||||
|
||||
#endif // WRAP_UNORDERED_SET_HPP
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
#ifndef WRAP_VECTOR_HPP
|
||||
#define WRAP_VECTOR_HPP
|
||||
#pragma once
|
||||
|
||||
#include "eng-malloc.hpp"
|
||||
#include <vector>
|
||||
@@ -10,5 +9,3 @@ class vector : public std::vector<T, eng::allocator<T>>, public eng::opnew {
|
||||
using std::vector<T, eng::allocator<T>>::vector;
|
||||
};
|
||||
} // namespace eng
|
||||
|
||||
#endif // WRAP_VECTOR_HPP
|
||||
|
||||
Reference in New Issue
Block a user