aboutsummaryrefslogtreecommitdiff
path: root/test/main.cpp
diff options
context:
space:
mode:
authorDylan <boss@tehbox.org>2025-10-07 18:45:28 +1300
committerDylan <boss@tehbox.org>2025-10-07 19:31:32 +1300
commit328e2464c81b0dfce623d4fbe9617ef79d6ed3c1 (patch)
treeecccb3c6583640af4792efa93ff280f17b4f707a /test/main.cpp
parent308b65134bd9d185741a612bfad3cca80ddddc48 (diff)
downloadtehimage-328e2464c81b0dfce623d4fbe9617ef79d6ed3c1.tar.gz
tehimage-328e2464c81b0dfce623d4fbe9617ef79d6ed3c1.zip
feat: Added cpp namespacev0.0.2
All functions and classes are now behind the cpp namespace `TehImage`
Diffstat (limited to 'test/main.cpp')
-rw-r--r--test/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/main.cpp b/test/main.cpp
index c020526..d4c2e64 100644
--- a/test/main.cpp
+++ b/test/main.cpp
@@ -21,9 +21,9 @@ int main(int argc, char* argv[])
std::string outfile = argv[2];
- PNGImage png;
+ TehImage::PNGImage png;
png.readFromFile(infile);
- BMPImage bmp(png);
+ TehImage::BMPImage bmp(png);
bmp.writeToFile(outfile);
}