We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bc3af5c commit d575147Copy full SHA for d575147
include/toolpp/FGD.h
@@ -191,7 +191,7 @@ class FGDWriter {
191
192
[[nodiscard]] std::string bake();
193
194
- void bake(const std::string& fgdPath);
+ bool bake(const std::string& fgdPath);
195
196
protected:
197
FGDWriter();
src/toolpp/FGD.cpp
@@ -837,6 +837,6 @@ std::string FGDWriter::bake() {
837
return this->backingData;
838
}
839
840
-void FGDWriter::bake(const std::string& fgdPath) {
841
- fs::writeFileText(fgdPath, this->bake());
+bool FGDWriter::bake(const std::string& fgdPath) {
+ return fs::writeFileText(fgdPath, this->bake());
842
0 commit comments