Bug 1255655 - Const-ify dom encodings and similar arrays. r=baku.

--HG--
extra : rebase_source : 4c65e785ca3b1e375505f9038a37c028837266d5
This commit is contained in:
Nicholas Nethercote 2016-03-11 13:04:01 +11:00
parent 7cb4896c8f
commit a05532465c
2 changed files with 5 additions and 5 deletions

View File

@ -15,11 +15,11 @@
namespace mozilla {
namespace dom {
static const char* labelsEncodings[][3] = {
static const char* const labelsEncodings[][3] = {
#include "labelsencodings.properties.h"
};
static const char* encodingsGroups[][3] = {
static const char* const encodingsGroups[][3] = {
#include "encodingsgroups.properties.h"
};

View File

@ -15,15 +15,15 @@
namespace mozilla {
namespace dom {
static const char* localesFallbacks[][3] = {
static const char* const localesFallbacks[][3] = {
#include "localesfallbacks.properties.h"
};
static const char* domainsFallbacks[][3] = {
static const char* const domainsFallbacks[][3] = {
#include "domainsfallbacks.properties.h"
};
static const char* nonParticipatingDomains[][3] = {
static const char* const nonParticipatingDomains[][3] = {
#include "nonparticipatingdomains.properties.h"
};