correct bug when OA is not present

This commit is contained in:
Jean-Manuel Caba 2010-08-08 23:48:43 +00:00
parent 9f71af1fc9
commit 58c9bb33e1
2 changed files with 24 additions and 24 deletions

View File

@ -1,5 +1,5 @@
// -*-compile-command:"cd ../../../../.. && make"-*-
// Time-stamp: "2010-08-06 14:49:15" - OpenAccessDriver.cpp
// Time-stamp: "2010-08-09 01:46:45" - OpenAccessDriver.cpp
// x-----------------------------------------------------------------x
// | This file is part of the hurricaneAMS Software. |
// | Copyright (c) UPMC/LIP6 2008-2010, All Rights Reserved |
@ -32,8 +32,8 @@ using namespace Hurricane;
#include "OpenAccessCommon.h"
namespace {
using namespace CRL_OA;
#ifdef HAVE_OPENACCESS
using namespace CRL_OA;
/**
Class to drive OA to Hurricane
@ -726,8 +726,8 @@ namespace {
namespace CRL {
void OpenAccess::oaDriver(const string& path, Cell* cell) {
oaCell* convertedCell = NULL;
#ifdef HAVE_OPENACCESS
oaCell* convertedCell = NULL;
assert(cell);
cell->materialize();
//for the moment a driver for hurricaneAMS

View File

@ -1,5 +1,5 @@
// -*-compile-command:"cd ../../../../.. && make"-*-
// Time-stamp: "2010-08-06 01:40:58" - OpenAccessParser.cpp
// Time-stamp: "2010-08-09 01:47:18" - OpenAccessParser.cpp
// x-----------------------------------------------------------------x
// | This file is part of the hurricaneAMS Software. |
// | Copyright (c) UPMC/LIP6 2008-2010, All Rights Reserved |
@ -28,8 +28,8 @@ using namespace Hurricane;
#include "OpenAccessCommon.h"
namespace {
using namespace CRL_OA;
#ifdef HAVE_OPENACCESS
using namespace CRL_OA;
class OAParser{
private:
typedef map<oaLib*, Library*> OALib2LibMap;