Commit 96f5c887 authored by Jason Beach's avatar Jason Beach Committed by Jesse Beder
Browse files

assign fallback value

parent c67d701a
......@@ -97,7 +97,7 @@ struct as_if {
if (!node.m_pNode)
return fallback;
T t;
T t = fallback;
if (convert<T>::decode(node, t))
return t;
return fallback;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment