Fixed Ninja build (#5408)
This commit is contained in:
parent
16da65fc93
commit
2a51a62d48
|
|
@ -36,7 +36,10 @@ namespace ngraph
|
|||
{
|
||||
return i < m_size ? m_string[i] : throw std::out_of_range("");
|
||||
}
|
||||
constexpr const char* get_ptr(size_t offset) const { return &m_string[offset]; }
|
||||
constexpr const char* get_ptr(size_t offset) const
|
||||
{
|
||||
return offset < m_size ? &m_string[offset] : nullptr;
|
||||
}
|
||||
constexpr size_t size() const { return m_size; }
|
||||
|
||||
private:
|
||||
|
|
|
|||
Loading…
Reference in New Issue