diff options
| author | Volker Krause <[email protected]> | 2015-05-01 13:15:22 +0200 |
|---|---|---|
| committer | Giuseppe D'Angelo <[email protected]> | 2015-05-05 05:31:32 +0000 |
| commit | 337c279215fa6daf12a1cd1370bcbf10db809bb0 (patch) | |
| tree | be145f1dddf62e8d148d79d27bde4beb353d7697 /src/network/access/qnetworkcookie.cpp | |
| parent | 3287e7a68a3feff5c34f109b6af0f894a0362801 (diff) | |
Make data tables const.
Moves some of them to the .rodata section, the rest at least to
.data.rel.ro[.local].
Change-Id: I85676ddf22b0c0097f3f0dce4c3dc018dc29d045
Reviewed-by: Marc Mutz <[email protected]>
Reviewed-by: Thiago Macieira <[email protected]>
Reviewed-by: Giuseppe D'Angelo <[email protected]>
Diffstat (limited to 'src/network/access/qnetworkcookie.cpp')
| -rw-r--r-- | src/network/access/qnetworkcookie.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/access/qnetworkcookie.cpp b/src/network/access/qnetworkcookie.cpp index 2b11e5f9936..8a24fc55fdf 100644 --- a/src/network/access/qnetworkcookie.cpp +++ b/src/network/access/qnetworkcookie.cpp @@ -499,7 +499,7 @@ static const char zones[] = "eet\0" // 2 "jst\0" // 9 "\0"; -static int zoneOffsets[] = {-8, -8, -7, -7, -6, -6, -5, -5, -4, -3, 0, 0, 0, 1, 2, 9 }; +static const int zoneOffsets[] = {-8, -8, -7, -7, -6, -6, -5, -5, -4, -3, 0, 0, 0, 1, 2, 9 }; static const char months[] = "jan\0" |
