GP-4204 Corrected bad template implementation

This commit is contained in:
emteere
2023-11-08 17:58:41 +00:00
parent 6b734cba46
commit 546de409ba
@@ -15,7 +15,6 @@
*/
package ghidra.util.bytesearch;
import ghidra.program.model.data.DataType;
/**
* Templated simple DittedBitSequence Pattern for a byte/mask pattern and associated action.
@@ -52,7 +51,7 @@ public class GenericByteSequencePattern<T> extends Pattern {
* @param action to apply if the match succeeds
*/
public GenericByteSequencePattern(byte[] bytesSequence, byte[] mask,
GenericMatchAction<DataType> action) {
GenericMatchAction<T> action) {
super(new DittedBitSequence(bytesSequence, mask), 0, new PostRule[0], new MatchAction[1]);
MatchAction[] matchActions = getMatchActions();