summaryrefslogtreecommitdiff
path: root/le/le_object_table.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'le/le_object_table.cpp')
-rw-r--r--le/le_object_table.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/le/le_object_table.cpp b/le/le_object_table.cpp
index 1155c35..3e87fb0 100644
--- a/le/le_object_table.cpp
+++ b/le/le_object_table.cpp
@@ -1,5 +1,9 @@
#include "le_object_table.hpp"
+#include "output.hpp"
+
+#include <iostream>
+
namespace le {
ObjectTable parse_object_table(std::istream& is, Offset32 offset, Value32 nr_objects)
@@ -12,12 +16,13 @@ ObjectTable parse_object_table(std::istream& is, Offset32 offset, Value32 nr_obj
for(Value32 i = Value32(0); i < nr_objects; i++) {
table.entries.emplace(i+1, parse_object_table_entry(is));
}
+
return table;
}
std::ostream& operator<<(std::ostream& os, const ObjectTable& table)
{
- return os;
+ return binparse::operator<<(os, table.entries);
}
} \ No newline at end of file