]> sigrok.org Git - pulseview.git/blobdiff - logicdata.cpp
Small consistency fix in a header.
[pulseview.git] / logicdata.cpp
index 1b7f5426ad8a7e01040f151372f3615c0a90300d..73d35d71a7f1cc753647c8a3e9c3912062191148 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * This file is part of the sigrok project.
+ * This file is part of the PulseView project.
  *
  * Copyright (C) 2012 Joel Holdsworth <joel@airwebreathe.org.uk>
  *
@@ -38,10 +38,10 @@ int LogicData::get_num_probes() const
 void LogicData::push_snapshot(
        boost::shared_ptr<LogicDataSnapshot> &snapshot)
 {
-       _snapshots.push(snapshot);
+       _snapshots.push_front(snapshot);
 }
 
-queue< shared_ptr<LogicDataSnapshot> >& LogicData::get_snapshots()
+deque< shared_ptr<LogicDataSnapshot> >& LogicData::get_snapshots()
 {
        return _snapshots;
 }