diff --git a/requester.hpp b/requester.hpp index ca70fe0..a4392f3 100644 --- a/requester.hpp +++ b/requester.hpp @@ -22,6 +22,12 @@ class requester { requester(); ~requester(); + // forbid copying and moving + requester(const requester&) = delete; + requester& operator=(const requester&) = delete; + requester(requester&&) = delete; + requester& operator=(requester&&) = delete; + // perform a http get request std::string get(const std::string& url);