remove loggin

This commit is contained in:
Stefan Tröger 2013-06-08 22:44:31 +02:00 committed by Stefan Tröger
parent 661e3bba8d
commit 8fc24fd824
3 changed files with 11 additions and 11 deletions

View File

@ -4,7 +4,7 @@ else(MSVC)
add_definitions(-DHAVE_LIMITS_H -DHAVE_CONFIG_H)
endif(MSVC)
add_definitions( -DUSE_LOGGING )
#add_definitions( -DUSE_LOGGING )
include_directories(
${CMAKE_SOURCE_DIR}/src
@ -21,12 +21,12 @@ include_directories(
)
set(Assembly_LIBS
${ODE_LIBRARIES}
${OCC_LIBRARIES}
Part
FreeCADApp
)
#set(Assembly_LIBS
# ${ODE_LIBRARIES}
# ${OCC_LIBRARIES}
# Part
# FreeCADApp
#)
generate_from_xml(ItemPy)
generate_from_xml(ItemAssemblyPy)

View File

@ -439,7 +439,7 @@ void Geometry<Sys, Derived, GeometrieTypeList, Dim>::finishCalculation() {
//recalculate(1.); //remove scaling to get right global value
m_global = m_rotated;
#ifdef USE_LOGGING
BOOST_LOG(log) << "Finish cluster calculation: "<<m_global.transpose();
BOOST_LOG(log) << "Finish cluster calculation";
#endif
}
//TODO:non cluster paramter scaling
@ -447,7 +447,7 @@ void Geometry<Sys, Derived, GeometrieTypeList, Dim>::finishCalculation() {
m_global = m_parameter;
normalize();
#ifdef USE_LOGGING
BOOST_LOG(log) << "Finish calculation: "<<m_global.transpose();
BOOST_LOG(log) << "Finish calculation";
#endif
};
apply_visitor v(m_global);

View File

@ -89,7 +89,7 @@ struct get_weight {
template<typename Vector, typename Weight>
struct getWeightType {
typedef typename mpl::find_if<Vector, boost::is_same<get_weight<mpl::_1>, Weight > >::type iter;
typedef typename mpl::deref<iter>::type type;
typedef typename mpl::if_< boost::is_same<iter, typename mpl::end<Vector>::type >, mpl::void_, typename mpl::deref<iter>::type>::type type;
};
typedef std::vector< fusion::vector2<std::string, std::string> > string_vec;
@ -217,7 +217,7 @@ struct inject_set {
};
//spezialisation if no type in the typelist has the right weight
template<>
struct inject_set<mpl_::void_> {
struct inject_set<mpl::void_> {
template<typename Obj, typename Vec>
static void apply(Vec& v, Obj g) {