yeeted std
This commit is contained in:
parent
a1b3cf4ae4
commit
62257af3bf
@ -14,15 +14,13 @@
|
||||
#include<string>
|
||||
#include<stdexcept>
|
||||
|
||||
using namespace std;
|
||||
|
||||
/*!
|
||||
* @class config_error
|
||||
* @brief Simple clone of runtime_error to help us handle errors in config management.
|
||||
*/
|
||||
class config_error : public runtime_error {
|
||||
class config_error : public std::runtime_error {
|
||||
public:
|
||||
explicit config_error(const string& msg);
|
||||
explicit config_error(const std::string& msg);
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@ -25,8 +25,6 @@
|
||||
#include "god.h"
|
||||
#include "invadersGrid.h"
|
||||
|
||||
using namespace std;
|
||||
|
||||
/*!
|
||||
* @class Game
|
||||
* @brief Main game class
|
||||
|
||||
@ -15,6 +15,8 @@
|
||||
#include<vector>
|
||||
#include<string>
|
||||
|
||||
using namespace std;
|
||||
|
||||
/*!
|
||||
* @struct Menu
|
||||
* @brief menu stuct
|
||||
|
||||
@ -27,8 +27,6 @@
|
||||
#include "scoresManager.h"
|
||||
#include "mySprite.h"
|
||||
|
||||
using namespace std;
|
||||
|
||||
typedef nsGui::GlutFont::GlutFonts Font;
|
||||
|
||||
/*!
|
||||
|
||||
@ -33,8 +33,6 @@
|
||||
#define DEBUG_INSTR(X)
|
||||
#endif
|
||||
|
||||
|
||||
using namespace std;
|
||||
using nsGraphics::RGBAcolor;
|
||||
|
||||
/*!
|
||||
@ -50,7 +48,7 @@ enum class WinValue{
|
||||
|
||||
typedef nsGraphics::Vec2D Position;
|
||||
typedef unsigned playerID;
|
||||
typedef future<void> Task;
|
||||
typedef std::future<void> Task;
|
||||
#define PLAYER1 0
|
||||
#define PLAYER2 1
|
||||
|
||||
|
||||
@ -10,6 +10,8 @@
|
||||
|
||||
#include "errors.h"
|
||||
|
||||
using namespace std;
|
||||
|
||||
config_error::config_error(const string& msg) : runtime_error(msg) {
|
||||
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user