]> sigrok.org Git - pulseview.git/blobdiff - pv/devices/sessionfile.cpp
main window: Prefer the user specified device in new sessions
[pulseview.git] / pv / devices / sessionfile.cpp
index 8a583eeba0ffb08b8015da6fd5f6890d77488c7f..0ba64a9b48cf6ffa4c2e7843bb95cf0a739dea7e 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/>.
  */
 
 #include <libsigrokcxx/libsigrokcxx.hpp>
 
 #include "sessionfile.hpp"
 
+using std::shared_ptr;
+using std::string;
+
 namespace pv {
 namespace devices {
 
-SessionFile::SessionFile(const std::shared_ptr<sigrok::Context> context,
-       const std::string &file_name) :
+SessionFile::SessionFile(const shared_ptr<sigrok::Context> context,
+       const string &file_name) :
        File(file_name),
        context_(context)
 {