summaryrefslogtreecommitdiff
path: root/binary_data.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'binary_data.cpp')
-rw-r--r--binary_data.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/binary_data.cpp b/binary_data.cpp
index aa65778..27fc9fe 100644
--- a/binary_data.cpp
+++ b/binary_data.cpp
@@ -37,7 +37,7 @@ int BinaryData::load(const char *filename)
return -ENOENT;
}
- if (!binary.open(File::ReadOnly)) {
+ if (!binary.open(File::OpenModeFlag::ReadOnly)) {
LOG(AIBD, Error) << "Failed to open: " << filename;
return -EINVAL;
}