Skip to content

Commit

Permalink
Updates for DCCL3 changes to DynamicProtobufManager
Browse files Browse the repository at this point in the history
  • Loading branch information
tsaubergine committed Feb 5, 2019
1 parent 9a815b5 commit 8bcd249
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
1 change: 1 addition & 0 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ fi
set -e -u
echo "Configuring Goby"
echo "cmake .. ${GOBY_CMAKE_FLAGS}"
mkdir -p build
pushd build >& /dev/null
cmake .. ${GOBY_CMAKE_FLAGS}
echo "Building Goby"
Expand Down
1 change: 0 additions & 1 deletion build/.gitignore~

This file was deleted.

5 changes: 2 additions & 3 deletions src/test/util/dynamic_protobuf/dynamic_protobuf.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ int main()
exit(1);
}

google::protobuf::SimpleDescriptorDatabase* simple_database =
new google::protobuf::SimpleDescriptorDatabase;
boost::shared_ptr<google::protobuf::SimpleDescriptorDatabase> simple_database(
new google::protobuf::SimpleDescriptorDatabase);
goby::util::DynamicProtobufManager::add_database(simple_database);

{
Expand Down Expand Up @@ -100,7 +100,6 @@ int main()

std::cout << "all tests passed" << std::endl;
}
delete simple_database;

goby::util::DynamicProtobufManager::protobuf_shutdown();

Expand Down

0 comments on commit 8bcd249

Please sign in to comment.