aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/Resource.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/crepe/api/Resource.cpp')
-rw-r--r--src/crepe/api/Resource.cpp9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/crepe/api/Resource.cpp b/src/crepe/api/Resource.cpp
index 6bb081d..1a647ce 100644
--- a/src/crepe/api/Resource.cpp
+++ b/src/crepe/api/Resource.cpp
@@ -9,11 +9,6 @@ Resource::Resource(const std::string & src) {
this->file = std::ifstream(this->src, std::ios::in | std::ios::binary);
}
-const std::istream & Resource::read() {
- return this->file;
-}
-
-const char * Resource::canonical() {
- return this->src.c_str();
-}
+const std::istream & Resource::read() { return this->file; }
+const char * Resource::canonical() { return this->src.c_str(); }