mirror of
https://github.com/OpenHFT/Chronicle-Map.git
synced 2021-09-13 01:26:12 +00:00
fixed issue with EngineMap
This commit is contained in:
@@ -3,7 +3,6 @@ package net.openhft.chronicle.map;
|
||||
import net.openhft.chronicle.bytes.Bytes;
|
||||
import net.openhft.chronicle.hash.function.SerializableFunction;
|
||||
import net.openhft.chronicle.wire.TextWire;
|
||||
import net.openhft.chronicle.wire.ValueOut;
|
||||
import net.openhft.chronicle.wire.Wire;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.slf4j.Logger;
|
||||
@@ -81,7 +80,7 @@ public class EngineMap<K, V> implements ChronicleMap<K, V> {
|
||||
if (b == null)
|
||||
return null;
|
||||
final Wire wire = toWire();
|
||||
((ValueOut) b).object(b);
|
||||
wire.getValueOut().object(b);
|
||||
wire.bytes().flip();
|
||||
|
||||
return toWire().getValueIn().bytes();
|
||||
|
||||
Reference in New Issue
Block a user