Skip to content

Commit

Permalink
Update ocl.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
DamianoNaraku committed Apr 9, 2024
1 parent 3566ad6 commit 2c6ad2e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ocl/ocl.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export class Persona {

export class OCL{
public static evaluate<T extends GObject>(obj0: T, constructor: Constructor<T>, oclexp: string, typeused: Constructor[]=[], oclEngine?: OclEngine): OclResult {
windoww.oclEngine = OclEngine;
windoww.OclEngine = OclEngine;
if (!oclEngine) {
oclEngine = OclEngine.create();
var oclResult = null;
Expand Down Expand Up @@ -50,7 +50,7 @@ export class OCL{
}

public static filter<T extends GObject>(keepIndex: boolean, returnType: 'ocl' | 'bool' | 'src', obj0: T[], oclexp: string, typeused: Constructor[]=[]) {
windoww.oclEngine = OclEngine;
windoww.OclEngine = OclEngine;
var oclEngine = OclEngine.create();
var oclResult = null;
const typeregister: GObject = {};
Expand Down

0 comments on commit 2c6ad2e

Please sign in to comment.