Add 'const' in a couple of places where it was missing.

PiperOrigin-RevId: 331194820
Change-Id: Icd116563181fe13cbe19a6253f0e0e1db442236c
This commit is contained in:
Fergus Henderson 2020-09-11 12:03:44 -07:00 committed by TensorFlower Gardener
parent 951be80fc6
commit 8a080f6493

View File

@ -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,