mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-04 04:33:23 +00:00
Implement --file-names-only (#8788)
* flatc builds and seems to work, some of the extra targets are having linker errors * fix build system * pipeline failures * un-rename files * refactor to use unique_ptr * typo * rm make_unique, add comments * fix cmake --------- Co-authored-by: Wouter van Oortmerssen <aardappel@gmail.com>
This commit is contained in:
@@ -241,7 +241,7 @@ class CSharpGenerator : public BaseGenerator {
|
||||
}
|
||||
filename +=
|
||||
options.filename_extension.empty() ? ".cs" : options.filename_extension;
|
||||
return SaveFile(filename.c_str(), code, false);
|
||||
return options.file_saver->SaveFile(filename.c_str(), code, false);
|
||||
}
|
||||
|
||||
const Namespace* CurrentNameSpace() const { return cur_name_space_; }
|
||||
|
||||
Reference in New Issue
Block a user