Ignore:
Timestamp:
Oct 5, 2009, 4:05:53 PM (16 years ago)
Author:
Frederik Heber <heber@…>
Children:
58808e
Parents:
e1f6d7 (diff), bf497f (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'ConcaveHull' into ConvexHull

Conflicts:

.gitignore
molecuilder/src/Makefile.am
molecuilder/src/atom.cpp
molecuilder/src/tesselation.cpp

no serious overlaps, just a free Frees that were not present in ConcaveHull were MemoryAllocator class was added.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • molecuilder/src/joiner.cpp

    re1f6d7 r8afe31  
    1010#include "datacreator.hpp"
    1111#include "helpers.hpp"
     12#include "memoryallocator.hpp"
    1213#include "parser.hpp"
    1314#include "periodentafel.hpp"
     
    5556    return 1;
    5657  } else {
    57     dir = (char *) Malloc(sizeof(char)*(strlen(argv[2])+2), "main: *dir");
     58    dir = Malloc<char>(strlen(argv[2]) + 2, "main: *dir");
    5859    strcpy(dir, "/");
    5960    strcat(dir, argv[2]);
     
    240241  // exit
    241242  delete(periode);
    242   Free((void **)&dir, "main: *dir");
     243  Free(&dir);
    243244  cout << "done." << endl;
    244245  return 0;
Note: See TracChangeset for help on using the changeset viewer.