Ignore:
Timestamp:
Dec 4, 2014, 7:24:31 AM (5 years ago)
Author:
cameron
Message:

Optimize makeDiff, makeIntersect if both args are CCs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/re/re_intersect.h

    r4298 r4319  
    2727    }
    2828protected:
    29     friend Intersect * makeIntersect(RE*, RE*);
     29    friend RE * makeIntersect(RE*, RE*);
    3030    void* operator new (std::size_t size) noexcept {
    3131        return mAllocator.allocate(size);
     
    4444};
    4545
    46 inline Intersect * makeIntersect(RE * lh, RE * rh) {
    47     return new Intersect(lh, rh);
    48 }
     46RE * makeIntersect(RE * lh, RE * rh);
    4947
    5048}
Note: See TracChangeset for help on using the changeset viewer.