summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-04-02 23:35:16 +0200
committerCarl Hetherington <cth@carlh.net>2020-04-02 23:37:43 +0200
commitac82657e512b6f291a731223b93d921cb4eb6908 (patch)
tree926b7da52faa750c6a1f4855a9ee0e618109595f
parent43c0c726a3e1908b0b713d8439107c431cc73247 (diff)
Fix incorrect type of Drive container
-rw-r--r--src/lib/cross_osx.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/cross_osx.cc b/src/lib/cross_osx.cc
index 181b8c74f..7197eef79 100644
--- a/src/lib/cross_osx.cc
+++ b/src/lib/cross_osx.cc
@@ -243,7 +243,7 @@ disk_appeared(DADiskRef disk, void* context)
{
const char* name = DADiskGetBSDName (disk);
if (name) {
- list<Drive>* drives = reinterpret_cast<list<Drive>*> (context);
+ vector<Drive>* drives = reinterpret_cast<vector<Drive>*> (context);
drives->push_back (Drive(name, 0, false, optional<string>(), optional<string>()));
}
}