mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-16 10:14:28 +02:00
parent
06f02f8b10
commit
3ea71e82c5
@ -165,7 +165,7 @@ Field TypeType::GetFieldInfo(int id) const
|
|||||||
if (id == 0)
|
if (id == 0)
|
||||||
return Field(0, "Object", "prototype", NULL, 0, 0);
|
return Field(0, "Object", "prototype", NULL, 0, 0);
|
||||||
else if (id == 1)
|
else if (id == 1)
|
||||||
return Field(1, "Object", "base", NULL, 0, 0);
|
return Field(1, "Type", "base", NULL, 0, 0);
|
||||||
|
|
||||||
throw std::runtime_error("Invalid field ID.");
|
throw std::runtime_error("Invalid field ID.");
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user