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