MCPcopy Create free account
hub / github.com/Icinga/icinga2 / ExpireTimeAccessor

Method ExpireTimeAccessor

lib/livestatus/commentstable.cpp:171–179  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

169}
170
171Value CommentsTable::ExpireTimeAccessor(const Value& row)
172{
173 Comment::Ptr comment = static_cast<Comment::Ptr>(row);
174
175 if (!comment)
176 return Empty;
177
178 return static_cast<int>(comment->GetExpireTime());
179}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected