From af6abf4f21b5836f30344363c535539510e3b9cc Mon Sep 17 00:00:00 2001 From: Tim Rakowski Date: Sat, 12 Aug 2017 20:52:23 +0200 Subject: [PATCH] Removed deprecated dynamic exception specifications --- tools/rosbag_storage/include/rosbag/bag_player.h | 2 +- tools/rosbag_storage/src/bag_player.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/rosbag_storage/include/rosbag/bag_player.h b/tools/rosbag_storage/include/rosbag/bag_player.h index a3c6749ed8..5aefe0de4d 100644 --- a/tools/rosbag_storage/include/rosbag/bag_player.h +++ b/tools/rosbag_storage/include/rosbag/bag_player.h @@ -77,7 +77,7 @@ class BagPlayer { public: /* Constructor expecting the filename of a bag */ - BagPlayer(const std::string &filename) throw(BagException); + BagPlayer(const std::string &filename); /* Register a callback for a specific topic and type */ template diff --git a/tools/rosbag_storage/src/bag_player.cpp b/tools/rosbag_storage/src/bag_player.cpp index ae87e6a8e4..eee5da9976 100644 --- a/tools/rosbag_storage/src/bag_player.cpp +++ b/tools/rosbag_storage/src/bag_player.cpp @@ -5,7 +5,7 @@ namespace rosbag { -BagPlayer::BagPlayer(const std::string &fname) throw(BagException) { +BagPlayer::BagPlayer(const std::string &fname) { bag.open(fname, rosbag::bagmode::Read); ros::Time::init(); View v(bag);