Showing the changes to src/include (2 of 4 files). Show all
Unified · Split
| @@ -28,7 +28,7 @@ namespace disvm · 27 unmodified lines | ||
| 28 | 28 | struct vm_runtab_t |
| 29 | 29 | { |
| 30 | 30 | // Function identification |
| 31 | − char *name; | |
| 31 | + const char *name; | |
| 32 | 32 | uint32_t sig; |
| 33 | 33 | |
| 34 | 34 | // Function pointer |
| @@ -254,7 +254,7 @@ namespace disvm · 253 unmodified lines | ||
| 254 | 254 | class Tadt_pick_tag final : public Tbasic_type<type_id_t::adt_pick_tag> |
| 255 | 255 | { |
| 256 | 256 | public: // static |
| 257 | − static constexpr char *tag_delim(); | |
| 257 | + static constexpr const char *tag_delim(); | |
| 258 | 258 | static constexpr char begin(); |
| 259 | 259 | static constexpr char end(); |
| 260 | 260 | |
| @@ -267,7 +267,7 @@ namespace disvm · 6 unmodified lines | ||
| 267 | 267 | Tadt_pick_tag(sig_stream_t &s) : _s{ std::move(s) } { } |
| 268 | 268 | }; |
| 269 | 269 | |
| 270 | − constexpr char *Tadt_pick_tag::tag_delim() { return "=>"; } | |
| 270 | + constexpr const char *Tadt_pick_tag::tag_delim() { return "=>"; } | |
| 271 | 271 | constexpr char Tadt_pick_tag::begin() { return '('; } |
| 272 | 272 | constexpr char Tadt_pick_tag::end() { return ')'; } |
| 273 | 273 | |