Skip to content

Commit

Permalink
Add missing setter
Browse files Browse the repository at this point in the history
  • Loading branch information
d-frey committed Nov 11, 2019
1 parent 28f6b00 commit 7a6e8db
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions include/tao/json/basic_value.hpp
Expand Up @@ -378,6 +378,11 @@ namespace tao::json
}

public:
void set_uninitialized() noexcept
{
m_variant = uninitialized;
}

void set_null() noexcept
{
m_variant = null;
Expand Down

0 comments on commit 7a6e8db

Please sign in to comment.