now forbids copying and moving
This commit is contained in:
parent
191aafa32b
commit
34aaee7509
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user