Don't use std:: in the code directly (where possible).
[pulseview.git] / pv / devices / file.cpp
index 04c8be3792ad1ffc95d9d5139e97c25d90a7578a..dc64246a9dbcefb1e600e80c12f8916487908779 100644 (file)
 
 #include "file.hpp"
 
 
 #include "file.hpp"
 
+using std::string;
+
 namespace pv {
 namespace devices {
 
 namespace pv {
 namespace devices {
 
-File::File(const std::string &file_name) :
+File::File(const string &file_name) :
        file_name_(file_name)
 {
 }
 
        file_name_(file_name)
 {
 }
 
-std::string File::full_name() const
+string File::full_name() const
 {
        return file_name_;
 }
 
 {
        return file_name_;
 }
 
-std::string File::display_name(const DeviceManager&) const
+string File::display_name(const DeviceManager&) const
 {
        return boost::filesystem::path(file_name_).filename().string();
 }
 {
        return boost::filesystem::path(file_name_).filename().string();
 }