]> sigrok.org Git - pulseview.git/blobdiff - pv/view/timeitem.hpp
Use a type with a greater resolution to represent time values
[pulseview.git] / pv / view / timeitem.hpp
index 4cb650d961adb8ea93610c47995b10c4b037c7f3..cd6f5f2499c428555189257482e118fd4ab57709 100644 (file)
@@ -44,7 +44,7 @@ public:
        /**
         * Sets the time of the marker.
         */
-       virtual void set_time(double time) = 0;
+       virtual void set_time(const pv::util::Timestamp& time) = 0;
 
        virtual float get_x() const = 0;