aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/Resource.cpp
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-10-01 17:27:14 +0200
committerLoek Le Blansch <loek@pipeframe.xyz>2024-10-01 17:27:14 +0200
commit65eda52aa51017f6f7aad158c4f8b6e91054cf0d (patch)
treea668f9374ef61a502bf691e3b13510d1dc9efca9 /src/crepe/api/Resource.cpp
parent8e67adc6828181b1df7c95da76f32962444fc7fd (diff)
`make format`
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(); }