| changeset 250 | 0998a43cc155 |
| parent 241 | 18f3010a358c |
| child 251 | ca99a81745fe |
1.1 --- a/src/API.cpp Sat Dec 29 00:12:27 2012 -0800 1.2 +++ b/src/API.cpp Sat Dec 29 00:55:38 2012 -0800 1.3 @@ -98,7 +98,7 @@ 1.4 RootScope roots(ZONE()); 1.5 CompileContext cc(ZONE(), path); 1.6 1.7 - TranslationUnit *unit = new (ZONE()->pool()) TranslationUnit(); 1.8 + TranslationUnit *unit = new TranslationUnit(); 1.9 unit->path_ = path; 1.10 1.11 if (!cc.addTranslationUnit(unit))