Big cleanup of rampant using std.
This commit is contained in:
parent
fcd1225370
commit
453c50c563
15 changed files with 49 additions and 40 deletions
|
@ -12,6 +12,7 @@
|
|||
#include "sfmlgui.hpp"
|
||||
|
||||
using namespace ImGui;
|
||||
using std::string;
|
||||
|
||||
void SFMLGui::ImGui_setup() {
|
||||
bool res = SFML::Init(window);
|
||||
|
@ -139,7 +140,7 @@ SFMLGui::SFMLGui(GameEngine &g) : window(sf::VideoMode(X_DIM, Y_DIM), "Turing's
|
|||
|
||||
}
|
||||
|
||||
void SFMLGui::update_log(vector<string> &lines) {
|
||||
void SFMLGui::update_log(std::vector<string> &lines) {
|
||||
log.clear();
|
||||
for(string &line : lines) {
|
||||
log.push_back(line);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue