Made heap classes const just in case. They really already were though.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35713 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -148,7 +148,7 @@ typedef SinglyLinkedList<DeferredDeletable> DeferredDeletableList;
|
|||||||
|
|
||||||
// Heap class configuration
|
// Heap class configuration
|
||||||
#define HEAP_CLASS_COUNT 3
|
#define HEAP_CLASS_COUNT 3
|
||||||
static heap_class sHeapClasses[HEAP_CLASS_COUNT] = {
|
static const heap_class sHeapClasses[HEAP_CLASS_COUNT] = {
|
||||||
{
|
{
|
||||||
"small", /* name */
|
"small", /* name */
|
||||||
50, /* initial percentage */
|
50, /* initial percentage */
|
||||||
|
|||||||
@@ -154,7 +154,7 @@ typedef struct heap_class_s {
|
|||||||
|
|
||||||
// Heap class configuration
|
// Heap class configuration
|
||||||
#define HEAP_CLASS_COUNT 3
|
#define HEAP_CLASS_COUNT 3
|
||||||
static heap_class sHeapClasses[HEAP_CLASS_COUNT] = {
|
static const heap_class sHeapClasses[HEAP_CLASS_COUNT] = {
|
||||||
{
|
{
|
||||||
"small", /* name */
|
"small", /* name */
|
||||||
50, /* initial percentage */
|
50, /* initial percentage */
|
||||||
|
|||||||
Reference in New Issue
Block a user