summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/modules/file/stdfile.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/osd/modules/file/stdfile.cpp')
-rw-r--r--src/osd/modules/file/stdfile.cpp16
1 files changed, 14 insertions, 2 deletions
diff --git a/src/osd/modules/file/stdfile.cpp b/src/osd/modules/file/stdfile.cpp
index 74b4208505c..96d7e53ebbe 100644
--- a/src/osd/modules/file/stdfile.cpp
+++ b/src/osd/modules/file/stdfile.cpp
@@ -20,6 +20,7 @@
namespace {
+
class std_osd_file : public osd_file
{
public:
@@ -245,8 +246,19 @@ bool osd_is_absolute_path(std::string const &path)
// osd_get_volume_name
//============================================================
-const char *osd_get_volume_name(int idx)
+std::string osd_get_volume_name(int idx)
+{
+ // we don't expose volumes
+ return std::string();
+}
+
+
+//============================================================
+// osd_get_volume_names
+//============================================================
+
+std::vector<std::string> osd_get_volume_names()
{
// we don't expose volumes
- return nullptr;
+ return std::vector<std::string>();
}