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

Method DebugInfoRange

lib/base/debuginfo.cpp:27–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25}
26
27DebugInfo icinga::DebugInfoRange(const DebugInfo& start, const DebugInfo& end)
28{
29 DebugInfo result;
30 result.Path = start.Path;
31 result.FirstLine = start.FirstLine;
32 result.FirstColumn = start.FirstColumn;
33 result.LastLine = end.LastLine;
34 result.LastColumn = end.LastColumn;
35 return result;
36}
37
38#define EXTRA_LINES 2
39

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected