Add 'const' in a couple of places where it was missing.
PiperOrigin-RevId: 331194820 Change-Id: Icd116563181fe13cbe19a6253f0e0e1db442236c
This commit is contained in:
parent
951be80fc6
commit
8a080f6493
@ -23,8 +23,8 @@ limitations under the License.
|
||||
|
||||
namespace {
|
||||
|
||||
TfLiteRegistration* GetDummyRegistration() {
|
||||
static TfLiteRegistration registration = {
|
||||
const TfLiteRegistration* GetDummyRegistration() {
|
||||
static const TfLiteRegistration registration = {
|
||||
/*init=*/nullptr,
|
||||
/*free=*/nullptr,
|
||||
/*prepare=*/nullptr,
|
||||
|
Loading…
x
Reference in New Issue
Block a user