aboutsummaryrefslogtreecommitdiff
path: root/src/openvic/utility/BMP.hpp
diff options
context:
space:
mode:
author Hop311 <hop3114@gmail.com>2023-09-08 01:34:47 +0200
committer Hop311 <hop3114@gmail.com>2023-09-08 01:34:47 +0200
commit7f9a9a8241ba81be9213e6606b8be4a48f1cbaab (patch)
tree26b67f150ec1b43593343344eabdc7deca47d0d8 /src/openvic/utility/BMP.hpp
parent3cd1d62ec00690a1b29070dd4903754e8f089a21 (diff)
Remove return_t, use & instead of if(x != SUCCESS)
Diffstat (limited to 'src/openvic/utility/BMP.hpp')
-rw-r--r--src/openvic/utility/BMP.hpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/openvic/utility/BMP.hpp b/src/openvic/utility/BMP.hpp
index 50b333b..7ed36a5 100644
--- a/src/openvic/utility/BMP.hpp
+++ b/src/openvic/utility/BMP.hpp
@@ -4,7 +4,6 @@
#include <vector>
#include "openvic/types/Colour.hpp"
-#include "openvic/types/Return.hpp"
namespace OpenVic {
class BMP {
@@ -41,9 +40,9 @@ namespace OpenVic {
BMP() = default;
~BMP();
- return_t open(char const* filepath);
- return_t read_header();
- return_t read_palette();
+ bool open(char const* filepath);
+ bool read_header();
+ bool read_palette();
void close();
void reset();