elna/source/result.cpp
2024-03-09 08:36:07 +01:00

20 lines
343 B
C++

#include "elna/source/result.hpp"
namespace elna::source
{
error::error(const position position)
: m_position(position)
{
}
std::size_t error::line() const noexcept
{
return this->m_position.line;
}
std::size_t error::column() const noexcept
{
return this->m_position.column;
}
}