mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Migrate to STL containers/algorithms.
This commit is contained in:
parent
e204bedf1d
commit
6a1670dbc3
63 changed files with 1330 additions and 1417 deletions
|
@ -28,6 +28,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
|||
#include <string>
|
||||
#include <map>
|
||||
#include <exception>
|
||||
#include <list>
|
||||
|
||||
class ModError : public std::exception
|
||||
{
|
||||
|
@ -68,7 +69,6 @@ struct ModSpec
|
|||
{}
|
||||
};
|
||||
|
||||
|
||||
std::map<std::string,ModSpec> getModsInPath(std::string path);
|
||||
|
||||
// expands modpack contents, but does not replace them.
|
||||
|
@ -140,6 +140,4 @@ private:
|
|||
|
||||
};
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue