projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
43c0c72
)
Fix incorrect type of Drive container
author
Carl Hetherington
<cth@carlh.net>
Thu, 2 Apr 2020 21:35:16 +0000
(23:35 +0200)
committer
Carl Hetherington
<cth@carlh.net>
Thu, 2 Apr 2020 21:37:43 +0000
(23:37 +0200)
src/lib/cross_osx.cc
patch
|
blob
|
history
diff --git
a/src/lib/cross_osx.cc
b/src/lib/cross_osx.cc
index 181b8c74fa4083fa51f037f3f3dffb402d13234d..7197eef792d4cf9c4c3058414c0f8b9225801889 100644
(file)
--- 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>()));
}
}