Skip to content

Commit 13fad52

Browse files
committed
Make FetcherConfig a move-only type.
This is in preparation for adding a `std::mutex` member. Bug: b/461569672
1 parent 75c0687 commit 13fad52

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

base/cvd/cuttlefish/host/libs/config/fetcher_config.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,10 @@ std::ostream& operator<<(std::ostream&, const CvdFile&);
5757
*/
5858
class FetcherConfig {
5959
public:
60+
FetcherConfig() = default;
61+
FetcherConfig(FetcherConfig&&) = default;
62+
FetcherConfig& operator=(FetcherConfig&&) = default;
63+
6064
bool SaveToFile(const std::string& file) const;
6165
bool LoadFromFile(const std::string& file);
6266

0 commit comments

Comments
 (0)