Skip to content

Problematic usage of mutable within fd_t #17

@lethalbit

Description

@lethalbit

Within the fd_t type both _length and eof are marked mutable and then used in const expressions which change their value.

This should be corrected by removing the mutable marking from them and then also removing the const from the methods which assign to them.

I've not checked to see if this is also a problem in other parts but a through check would be ideal.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions