Ignore:
Timestamp:
Apr 26, 2018, 9:29:20 AM (17 months ago)
Author:
cameron
Message:

Setting BinaryFilesMode? to Text (temporary); conversion to unique_ptr progress

Location:
icGREP/icgrep-devel/icgrep/pablo
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/pablo/pablo_compiler.cpp

    r5977 r5992  
    856856PabloCompiler::PabloCompiler(PabloKernel * const kernel)
    857857: mKernel(kernel)
    858 , mCarryManager(new CarryManager)
     858, mCarryManager(make_unique<CarryManager>())
    859859, mBranchCount(0) {
    860860    assert ("PabloKernel cannot be null!" && kernel);
     
    862862
    863863PabloCompiler::~PabloCompiler() {
    864     delete mCarryManager;
    865 }
    866 
    867 }
     864}
     865
     866}
  • icGREP/icgrep-devel/icgrep/pablo/pablo_compiler.h

    r5828 r5992  
    7070
    7171    PabloKernel * const             mKernel;
    72     CarryManager * const            mCarryManager;
     72    std::unique_ptr<CarryManager> const mCarryManager;
    7373    TranslationMap                  mMarker;
    7474    TranslationMap                  mAccumulator;
Note: See TracChangeset for help on using the changeset viewer.