Skip to content

Commit

Permalink
handle value_type::NONE
Browse files Browse the repository at this point in the history
  • Loading branch information
BenLubar committed Jan 19, 2020
1 parent 9ef989b commit 522106a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions helpers_content.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -988,6 +988,9 @@ void value_level(std::ostream & s, df::value_type type, int32_t level)
BEFORE_SWITCH(value, type);
switch (value)
{
case value_type::NONE:
s << "(no value)";
BREAK(value);
case value_type::LAW:
if (level > 40)
{
Expand Down

0 comments on commit 522106a

Please sign in to comment.