Coverage Report

Created: 2026-09-14 06:37

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/src/libetonyek/src/lib/contexts/IWORKRefContext.cpp
Line
Count
Source
1
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2
/*
3
 * This file is part of the libetonyek project.
4
 *
5
 * This Source Code Form is subject to the terms of the Mozilla Public
6
 * License, v. 2.0. If a copy of the MPL was not distributed with this
7
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8
 */
9
10
#include "IWORKRefContext.h"
11
12
#include "IWORKXMLParserState.h"
13
14
namespace libetonyek
15
{
16
17
IWORKRefContext::IWORKRefContext(IWORKXMLParserState &state, boost::optional<ID_t> &ref)
18
0
  : IWORKXMLEmptyContextBase(state)
19
0
  , m_ref(ref)
20
0
{
21
0
}
22
23
void IWORKRefContext::endOfElement()
24
0
{
25
0
  m_ref = getRef();
26
0
}
27
28
}
29
30
/* vim:set shiftwidth=2 softtabstop=2 expandtab: */