projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Don't use std:: in the code directly (where possible).
[pulseview.git]
/
test
/
view
/
ruler.cpp
diff --git
a/test/view/ruler.cpp
b/test/view/ruler.cpp
index 400f845e52e3aeba85e2fd07ea8aabbf4f089372..34bf20b72820e54b6d99d38338e8775aa3a138ac 100644
(file)
--- a/
test/view/ruler.cpp
+++ b/
test/view/ruler.cpp
@@
-14,8
+14,7
@@
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* 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/>.
*/
#include <boost/test/unit_test.hpp>
*/
#include <boost/test/unit_test.hpp>
@@
-24,12
+23,12
@@
#include "pv/view/ruler.hpp"
#include "test/test.hpp"
#include "pv/view/ruler.hpp"
#include "test/test.hpp"
-using namespace pv::view;
+using namespace pv::view
s::TraceView
;
namespace {
QString format(const pv::util::Timestamp& t)
{
namespace {
QString format(const pv::util::Timestamp& t)
{
- return pv::util::format_
si_value(t, "s"
, pv::util::SIPrefix::none, 6);
+ return pv::util::format_
time_si(t
, pv::util::SIPrefix::none, 6);
}
const double e = 0.0001;
}
const double e = 0.0001;