Commit 7c8b0b19 authored by DreamSourceLab's avatar DreamSourceLab

fix compile error

parent 5bea8e4e
......@@ -34,7 +34,7 @@ project(DSLogic)
option(DISABLE_WERROR "Build without -Werror" TRUE)
option(ENABLE_SIGNALS "Build with UNIX signals" TRUE)
option(ENABLE_DECODE "Build with libsigrokdecode" FALSE)
option(ENABLE_DECODE "Build with libsigrokdecode" TRUE)
option(ENABLE_COTIRE "Enable cotire" FALSE)
option(ENABLE_TESTS "Enable unit tests" FALSE)
option(STATIC_PKGDEPS_LIBS "Statically link to (pkg-config) libraries" FALSE)
......
......@@ -125,7 +125,9 @@ void SigSession::set_device(shared_ptr<device::DevInst> dev_inst) throw(QString)
}
_dev_inst = dev_inst;
#ifdef ENABLE_DECODE
_decode_traces.clear();
#endif
_group_traces.clear();
if (_dev_inst) {
......
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