Ignore:
Timestamp:
May 5, 2017, 2:08:59 PM (8 years ago)
Author:
Frederik Heber <frederik.heber@…>
Branches:
Action_Thermostats, Add_AtomRandomPerturbation, Add_RotateAroundBondAction, Add_SelectAtomByNameAction, Adding_Graph_to_ChangeBondActions, Adding_MD_integration_tests, Adding_StructOpt_integration_tests, AutomationFragmentation_failures, Candidate_v1.6.1, ChangeBugEmailaddress, ChangingTestPorts, ChemicalSpaceEvaluator, Disabling_MemDebug, Docu_Python_wait, EmpiricalPotential_contain_HomologyGraph_documentation, Enhance_userguide, Enhanced_StructuralOptimization, Enhanced_StructuralOptimization_continued, Example_ManyWaysToTranslateAtom, Exclude_Hydrogens_annealWithBondGraph, Fix_ChronosMutex, Fix_StatusMsg, Fix_StepWorldTime_single_argument, Fix_Verbose_Codepatterns, ForceAnnealing_goodresults, ForceAnnealing_oldresults, ForceAnnealing_tocheck, ForceAnnealing_with_BondGraph, ForceAnnealing_with_BondGraph_continued, ForceAnnealing_with_BondGraph_continued_betteresults, ForceAnnealing_with_BondGraph_contraction-expansion, GeometryObjects, Gui_displays_atomic_force_velocity, IndependentFragmentGrids_IntegrationTest, JobMarket_RobustOnKillsSegFaults, JobMarket_StableWorkerPool, PythonUI_with_named_parameters, QtGui_reactivate_TimeChanged_changes, Recreated_GuiChecks, RotateToPrincipalAxisSystem_UndoRedo, StoppableMakroAction, TremoloParser_IncreasedPrecision, TremoloParser_MultipleTimesteps, Ubuntu_1604_changes
Children:
ac9dc8
Parents:
aa91de0
git-author:
Frederik Heber <frederik.heber@…> (05/05/17 12:22:20)
git-committer:
Frederik Heber <frederik.heber@…> (05/05/17 14:08:59)
Message:

Commented out MemDebug include and Memory::ignore.

  • MemDebug clashes with various allocation operators that use a specific placement in memory. It is so far not possible to wrap new/delete fully. Hence, we stop this effort which so far has forced us to put ever more includes (with clashes) into MemDebug and thereby bloat compilation time.
  • MemDebug does not add that much usefulness which is not also provided by valgrind.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Actions/Action.cpp

    raa91de0 r9eb71b3  
    3333#endif
    3434
    35 #include "CodePatterns/MemDebug.hpp"
     35//#include "CodePatterns/MemDebug.hpp"
    3636
    3737#include <iostream>
     
    4545#include "UIElements/Dialog.hpp"
    4646#include "CodePatterns/Assert.hpp"
    47 #include "CodePatterns/MemDebug.hpp"
     47//#include "CodePatterns/MemDebug.hpp"
    4848#include "UIElements/UIFactory.hpp"
    4949
     
    5454
    5555ActionState::ptr getEmptyState() {
    56   return ActionState::ptr(Memory::ignore(new ActionState()));
     56  return ActionState::ptr(
     57        /* Memory::ignore( */
     58        new ActionState())
     59        /* ) */
     60        ;
    5761}
    5862
Note: See TracChangeset for help on using the changeset viewer.