2
0
forked from Ivasoft/DSView

fix stdc++11 compilation issues

This commit is contained in:
Diego F. Asanza
2015-04-19 01:49:22 +02:00
parent 8a1fa01c24
commit d2477cc8f0
2 changed files with 2 additions and 2 deletions

View File

@@ -503,7 +503,7 @@ void Viewport::measure()
const vector< boost::shared_ptr<Signal> > sigs(_view.session().get_signals());
BOOST_FOREACH(const boost::shared_ptr<Signal> s, sigs) {
assert(s);
shared_ptr<view::LogicSignal> logicSig;
boost::shared_ptr<view::LogicSignal> logicSig;
if (logicSig = dynamic_pointer_cast<view::LogicSignal>(s)) {
if (logicSig->measure(_view.hover_point(), _cur_sample, _nxt_sample, _thd_sample)) {
_measure_shown = true;

View File

@@ -47,7 +47,7 @@ class Viewport : public QWidget
public:
static const int HitCursorMargin = 10;
static constexpr double HitCursorTimeMargin;
static const double HitCursorTimeMargin;
public:
explicit Viewport(View &parent);