summaryrefslogtreecommitdiff
path: root/mz/mz_header.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'mz/mz_header.cpp')
-rw-r--r--mz/mz_header.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/mz/mz_header.cpp b/mz/mz_header.cpp
index 323c9cd..02241cf 100644
--- a/mz/mz_header.cpp
+++ b/mz/mz_header.cpp
@@ -36,17 +36,17 @@ NotAMZFileException::NotAMZFileException()
{}
template <int... Indices>
-MZHeader parse_file_impl(std::istream& is, indices<Indices...>) {
+MZHeader parse_header_impl(std::istream& is, indices<Indices...>) {
return {parse<typename std::decay<typename boost::fusion::result_of::at_c<MZHeader, Indices>::type>::type>(is, boost::fusion::extension::struct_member_name<MZHeader, Indices>::call())...};
}
-MZHeader parse_file(std::istream& is) {
+MZHeader parse_header(std::istream& is) {
typedef build_indices<boost::fusion::result_of::size<MZHeader>::value>::type indices;
- return parse_file_impl(is, indices{});
+ return parse_header_impl(is, indices{});
}
std::ostream& output_impl(std::ostream& os, MZHeader const&, indices<>) {