From 89a82988df37152a0481a0835b7bdb7c98764609 Mon Sep 17 00:00:00 2001 From: "Ruben S. Montero" Date: Wed, 18 Jan 2012 23:37:36 +0100 Subject: [PATCH] bug: Fixed number of restricted attributes constant (cherry picked from commit 38f67ef27b891e34eab91fe38f25ac4eb054d81e) --- src/vm/VirtualMachineTemplate.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/vm/VirtualMachineTemplate.cc b/src/vm/VirtualMachineTemplate.cc index 20fdf122c0..1f9686e294 100644 --- a/src/vm/VirtualMachineTemplate.cc +++ b/src/vm/VirtualMachineTemplate.cc @@ -28,7 +28,7 @@ const string VirtualMachineTemplate::RESTRICTED_ATTRIBUTES[] = { "RANK" }; -const int VirtualMachineTemplate::RS_ATTRS_LENGTH = 3; +const int VirtualMachineTemplate::RS_ATTRS_LENGTH = 5; /* -------------------------------------------------------------------------- */ /* -------------------------------------------------------------------------- */ @@ -83,4 +83,4 @@ bool VirtualMachineTemplate::check(string& rs_attr) } return false; -} \ No newline at end of file +}