From 43e0a37906afabb0b3b091b8d3eac9a910cae50c Mon Sep 17 00:00:00 2001 From: maxim nikonov Date: Fri, 6 Feb 2026 02:33:41 +0500 Subject: wip --- fluid/io/Code_Writer.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'fluid/io/Code_Writer.h') diff --git a/fluid/io/Code_Writer.h b/fluid/io/Code_Writer.h index 9d52e0600..f2ca32a3e 100644 --- a/fluid/io/Code_Writer.h +++ b/fluid/io/Code_Writer.h @@ -88,9 +88,9 @@ private: Project &proj_; /// file pointer for the C++ code file - FILE *code_file = nullptr; + FILE *code_file = 0; /// file pointer for the C++ header file - FILE *header_file = nullptr; + FILE *header_file = 0; /// tree of unique but human-readable identifiers Fd_Id_Map unique_id_list; @@ -106,7 +106,7 @@ private: /// if set, we are at the start of a line and can ignore leading spaces in crc bool block_line_start_ = true; /// expanding buffer for vsnprintf - char *block_buffer_ = nullptr; + char *block_buffer_ = 0; /// size of expanding buffer for vsnprintf int block_buffer_size_ = 0; @@ -159,7 +159,7 @@ public: void tag(proj::Mergeback::Tag prev_type, proj::Mergeback::Tag next_type, unsigned short uid); - static unsigned long block_crc(const void *data, int n=-1, unsigned long in_crc=0, bool *inout_line_start=nullptr); + static unsigned long block_crc(const void *data, int n=-1, unsigned long in_crc=0, bool *inout_line_start=0); }; } // namespace io -- cgit v1.2.3