]> sigrok.org Git - pulseview.git/blobdiff - pv/view/cursor.hpp
DeviceManager: Don't perform scans with DMM drivers
[pulseview.git] / pv / view / cursor.hpp
index 319d3a746aaae4f74c254cfb294891bd3025efae..e78920e2c3e8df29572fb1d7cd6e62e5b9033e97 100644 (file)
@@ -14,8 +14,7 @@
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
+ * along with this program; if not, see <http://www.gnu.org/licenses/>.
  */
 
 #ifndef PULSEVIEW_PV_VIEWS_TRACEVIEW_CURSOR_HPP
@@ -27,6 +26,8 @@
 
 #include <QSizeF>
 
+using std::shared_ptr;
+
 class QPainter;
 
 namespace pv {
@@ -67,7 +68,7 @@ public:
        QRectF label_rect(const QRectF &rect) const;
 
 private:
-       std::shared_ptr<Cursor> get_other_cursor() const;
+       shared_ptr<Cursor> get_other_cursor() const;
 };
 
 } // namespace TraceView