ports/lang/freehdl/patches/patch-freehdl_kernel-fhdl-stream_hh

15 lines
451 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
const correct, avoid non standard code
Index: freehdl/kernel-fhdl-stream.hh
--- freehdl/kernel-fhdl-stream.hh.orig
+++ freehdl/kernel-fhdl-stream.hh
@@ -29,7 +29,7 @@ struct fhdl_ostream_t {
str->flush();
}
- fhdl_ostream_t &operator<<(char *p);
+ fhdl_ostream_t &operator<<(const char *p);
fhdl_ostream_t &operator<<(const string &a);
fhdl_ostream_t &operator<<(const int i);
fhdl_ostream_t &operator<<(const unsigned int i);