]> sigrok.org Git - pulseview.git/blobdiff - pv/data/segment.cpp
Use a type with a greater resolution to represent time values
[pulseview.git] / pv / data / segment.cpp
index bc08fd07917564d86e13f35f3d37ad20dcae64e9..831c0acaac49cf68fd428ce7ef57fabc6f8a4576 100644 (file)
@@ -52,7 +52,7 @@ uint64_t Segment::get_sample_count() const
        return sample_count_;
 }
 
-double Segment::start_time() const
+const pv::util::Timestamp& Segment::start_time() const
 {
        return start_time_;
 }