summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/netlist/devices/nlid_proxy.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/netlist/devices/nlid_proxy.cpp')
-rw-r--r--src/lib/netlist/devices/nlid_proxy.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/netlist/devices/nlid_proxy.cpp b/src/lib/netlist/devices/nlid_proxy.cpp
index fb0ba84c5a8..74ba40f5fe3 100644
--- a/src/lib/netlist/devices/nlid_proxy.cpp
+++ b/src/lib/netlist/devices/nlid_proxy.cpp
@@ -187,7 +187,7 @@ namespace netlist
nlconst::zero());
break;
default:
- printf("this should never happen!");
+ throw nl_exception("unknown state for proxy: this should never happen! %d\n", static_cast<int>(state));
}
});
m_last_state = state;