Skip to content

Commit 6337241

Browse files
committed
Add boost version guard
1 parent 9f2e5ab commit 6337241

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

gtsam/base/FastSet.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@
1818

1919
#pragma once
2020

21+
#if BOOST_VERSION >= 107400
2122
#include <boost/serialization/library_version_type.hpp>
23+
#endif
2224
#include <boost/serialization/nvp.hpp>
2325
#include <boost/serialization/set.hpp>
2426
#include <gtsam/base/FastDefaultAllocator.h>

0 commit comments

Comments
 (0)