12345678910111213141516 |
- $OpenBSD: patch-freehdl_kernel-fhdl-stream_hh,v 1.1 2017/06/03 14:25:16 espie Exp $
- 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);
|