Skip to content

Commit

Permalink
Use std::integral_types instead of boost::
Browse files Browse the repository at this point in the history
  • Loading branch information
benmwebb committed Mar 14, 2024
1 parent 3813381 commit 1ca6464
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion modules/atom/include/CenterOfMass.h
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ class IMPATOMEXPORT CenterOfMass : public IMP::Decorator {



IMP_NO_DOXYGEN(typedef boost::false_type DecoratorHasTraits);
IMP_NO_DOXYGEN(typedef std::false_type DecoratorHasTraits);

};

Expand Down
2 changes: 1 addition & 1 deletion modules/atom/include/Hierarchy.h
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ class IMPATOMEXPORT Hierarchy : public core::Hierarchy {

public:
#ifndef IMP_DOXYGEN
typedef boost::false_type DecoratorHasTraits;
typedef std::false_type DecoratorHasTraits;

//! Setup the particle as a hierarchy; add the passed particles as children.
static Hierarchy setup_particle(Particle *p,
Expand Down
2 changes: 1 addition & 1 deletion modules/kernel/include/Decorator.h
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ class IMPKERNELEXPORT Decorator : public Value {
IMP_HASHABLE_INLINE(Decorator, return boost::hash_value(get_particle()););

#if !defined(IMP_DOXYGEN) && !defined(SWIG)
typedef boost::false_type DecoratorHasTraits;
typedef std::false_type DecoratorHasTraits;
#endif
};

Expand Down
5 changes: 3 additions & 2 deletions modules/kernel/include/decorator_macros.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
#include "particle_index.h"
#include "Particle.h"
#include "Decorator.h"
#include <type_traits>
#include <IMP/check_macros.h>
#include <IMP/log_macros.h>
#include <IMP/showable_macros.h>
Expand Down Expand Up @@ -73,7 +74,7 @@
comparison
macros*/ IMP_NO_DOXYGEN( \
typedef Parent ParentDecorator); \
IMP_NO_DOXYGEN(typedef boost::true_type DecoratorHasTraits); \
IMP_NO_DOXYGEN(typedef std::true_type DecoratorHasTraits); \
Name() : Parent() {} \
Name(::IMP::Model *m, ::IMP::ParticleIndex id, \
const TraitsType &tr = default_traits) \
Expand Down Expand Up @@ -560,7 +561,7 @@
static bool get_is_setup(Model *m, ParticleIndex pi) { \
return m->get_has_attribute(get_constraint_key(), pi); \
} \
IMP_NO_DOXYGEN(typedef boost::false_type DecoratorHasTraits); \
IMP_NO_DOXYGEN(typedef std::false_type DecoratorHasTraits); \
\
private: \
/* hide set methods*/ \
Expand Down

0 comments on commit 1ca6464

Please sign in to comment.