From cdf7ec3c2db385f2beb6e564220e9ade7dec8fba Mon Sep 17 00:00:00 2001 From: Yann Herklotz Date: Sat, 2 Jun 2018 16:10:02 +0100 Subject: Adding modeline --- yage/core/iomanager.cpp | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'yage/core/iomanager.cpp') diff --git a/yage/core/iomanager.cpp b/yage/core/iomanager.cpp index b4e6847e..ff920f97 100644 --- a/yage/core/iomanager.cpp +++ b/yage/core/iomanager.cpp @@ -1,4 +1,5 @@ /** --------------------------------------------------------------------------- + * -*- c++ -*- * @file: iomanager.cpp * * Copyright (c) 2017 Yann Herklotz Grave @@ -9,16 +10,17 @@ #include #include -#include #include +#include namespace yage { -namespace IoManager { +namespace IoManager +{ bool readFileToBuffer(const std::string &file_path, - std::vector &buffer) + std::vector &buffer) { std::ifstream file(file_path, std::ios::binary); if (!file.is_open()) { @@ -42,6 +44,6 @@ bool readFileToBuffer(const std::string &file_path, return true; } -} +} // namespace IoManager } // namespace yage -- cgit