update another ref readonly
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
26216a295f
commit
a00735650a
|
@ -48,9 +48,9 @@ namespace Encompass
|
|||
return _messageStore.Any<TMessage>();
|
||||
}
|
||||
|
||||
internal TMessage First<TMessage>() where TMessage : struct, IMessage
|
||||
internal ref readonly TMessage First<TMessage>() where TMessage : struct, IMessage
|
||||
{
|
||||
return _messageStore.First<TMessage>();
|
||||
return ref _messageStore.First<TMessage>();
|
||||
}
|
||||
|
||||
internal IEnumerable<TMessage> WithEntity<TMessage>(int entityID) where TMessage : struct, IMessage, IHasEntity
|
||||
|
|
Loading…
Reference in New Issue