summaryrefslogtreecommitdiff
path: root/src/lib/update_checker.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-10-11 19:55:06 +0200
committerCarl Hetherington <cth@carlh.net>2021-10-11 20:13:21 +0200
commit44b69f2d9affb048c3d166e3a62bf3462dd5c8b5 (patch)
tree7cf2a540d01c66f9a7d12acfdabd0ee2f4251c80 /src/lib/update_checker.h
parent805d4a48fa6e4d8e28fd582a2ae6ba78b8343144 (diff)
Replace some raw arrays with std::vectors.
Diffstat (limited to 'src/lib/update_checker.h')
-rw-r--r--src/lib/update_checker.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/update_checker.h b/src/lib/update_checker.h
index aa5f620e6..53ef4457b 100644
--- a/src/lib/update_checker.h
+++ b/src/lib/update_checker.h
@@ -89,7 +89,7 @@ private:
void set_state (State);
void thread ();
- char* _buffer;
+ std::vector<char> _buffer;
int _offset = 0;
CURL* _curl = nullptr;