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

14 lines
451 B
Text

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);