Skip to content

Commit

Permalink
Replace deprecated .h files with .hpp
Browse files Browse the repository at this point in the history
  • Loading branch information
jwon02 committed Apr 24, 2018
1 parent 1557fe6 commit ac8ebd9
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion tools/rosbag_storage/include/rosbag/bag.h
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
#include <boost/format.hpp>
#include <boost/iterator/iterator_facade.hpp>

#include <pluginlib/class_loader.h>
#include <pluginlib/class_loader.hpp>

#include "console_bridge/console.h"
#if defined logDebug
Expand Down
2 changes: 1 addition & 1 deletion tools/rosbag_storage/src/aes_encryptor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@

#include <openssl/rand.h>

#include <pluginlib/class_list_macros.h>
#include <pluginlib/class_list_macros.hpp>

PLUGINLIB_EXPORT_CLASS(rosbag::AesCbcEncryptor, rosbag::EncryptorBase)

Expand Down
3 changes: 2 additions & 1 deletion tools/rosbag_storage/src/bag.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ Bag::Bag(string const& filename, uint32_t mode) : encryptor_loader_("rosbag_stor

#ifndef BOOST_NO_CXX11_RVALUE_REFERENCES

Bag::Bag(Bag&& other) {
Bag::Bag(Bag&& other) : encryptor_loader_("rosbag_storage", "rosbag::EncryptorBase") {
init();
swap(other);
}
Expand Down Expand Up @@ -1178,6 +1178,7 @@ void Bag::swap(Bag& other) {
swap(outgoing_chunk_buffer_, other.outgoing_chunk_buffer_);
swap(current_buffer_, other.current_buffer_);
swap(decompressed_chunk_, other.decompressed_chunk_);
swap(encryptor_, other.encryptor_);
}

bool Bag::isOpen() const { return file_.isOpen(); }
Expand Down
2 changes: 1 addition & 1 deletion tools/rosbag_storage/src/encryptor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

#include "rosbag/encryptor.h"

#include <pluginlib/class_list_macros.h>
#include <pluginlib/class_list_macros.hpp>

PLUGINLIB_EXPORT_CLASS(rosbag::NoEncryptor, rosbag::EncryptorBase)

Expand Down

0 comments on commit ac8ebd9

Please sign in to comment.