Skip to content
Commit fea34562 authored by Igor Kushnir's avatar Igor Kushnir Committed by Milian Wolff
Browse files

ItemRepository: make reading from memory safer

Any char* pointer could be passed to readValue()'s char*& from argument
by accident. Now the pointer is passed once to FileMap's constructor,
and then the interface of the class is used. The new class also ensures
that the data pointer is not modified accidentally, but only when
something is read from it.
parent 9406ede0
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment