mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-17 17:08:39 +00:00
C++11 patchset 2: remove util/cpp11.h and util/cpp11_container.h (#5821)
This commit is contained in:
parent
2362d3f926
commit
a98baef5e4
59 changed files with 223 additions and 298 deletions
|
@ -21,9 +21,9 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
|||
#define ITEMGROUP_HEADER
|
||||
|
||||
#include <string>
|
||||
#include "util/cpp11_container.h"
|
||||
#include <unordered_map>
|
||||
|
||||
typedef UNORDERED_MAP<std::string, int> ItemGroupList;
|
||||
typedef std::unordered_map<std::string, int> ItemGroupList;
|
||||
|
||||
static inline int itemgroup_get(const ItemGroupList &groups, const std::string &name)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue