Skip to content

Commit 2b626e3

Browse files
committed
Add missing qualification
1 parent 039d18c commit 2b626e3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/tao/json/value.hh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -818,13 +818,13 @@ namespace tao
818818

819819
basic_value & operator[] ( const std::size_t index ) noexcept
820820
{
821-
assert( m_type == type::ARRAY );
821+
assert( m_type == json::type::ARRAY );
822822
return m_union.a[ index ];
823823
}
824824

825825
const basic_value & operator[] ( const std::size_t index ) const noexcept
826826
{
827-
assert( m_type == type::ARRAY );
827+
assert( m_type == json::type::ARRAY );
828828
return m_union.a[ index ];
829829
}
830830

0 commit comments

Comments
 (0)