Advertisement
Guest User

Untitled

a guest
May 13th, 2017
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. void Database::Connect(Database::Engine type, std::string host, std::string user, std::string pass, std::string db)
  2. {
  3. this->engine = type;
  4. this->host = host;
  5. this->user = user;
  6. this->pass = pass;
  7. this->port = util::to_int(port);
  8. this->db = db;
  9.  
  10. if (this->connected)
  11. {
  12. return;
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement