🐎 noexcept and new constructor

This commit is contained in:
EntireTwix 2021-07-06 20:29:27 -07:00
parent 80cc3a99cf
commit 5ab0f89e89

View file

@ -1,4 +1,5 @@
#include "bank_resp.h"
BankResponse::BankResponse() = default;
BankResponse::BankResponse(drogon::HttpStatusCode code, std::string &&str) : first(code), second(str) {}
BankResponse::BankResponse() noexcept = default;
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) {}