mirror of
https://github.com/Expand-sys/CCash
synced 2025-12-18 09:02:14 +11:00
🐎⚡ noexcept and new constructor
This commit is contained in:
parent
80cc3a99cf
commit
5ab0f89e89
1 changed files with 3 additions and 2 deletions
|
|
@ -1,4 +1,5 @@
|
||||||
#include "bank_resp.h"
|
#include "bank_resp.h"
|
||||||
|
|
||||||
BankResponse::BankResponse() = default;
|
BankResponse::BankResponse() noexcept = default;
|
||||||
BankResponse::BankResponse(drogon::HttpStatusCode code, std::string &&str) : first(code), second(str) {}
|
BankResponse::BankResponse(drogon::HttpStatusCode code, std::string &&str) noexcept : first(code), second(str) {}
|
||||||
|
BankResponse::BankResponse(drogon::HttpStatusCode code, const std::string &str) noexcept : first(code), second(str) {}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue