-// Copyright (C) 2021 CEA/DEN, EDF R&D
+// Copyright (C) 2021-2022 CEA/DEN, EDF R&D
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
//
#include "SALOME_KernelORB.hxx"
+#include "OpUtil.hxx"
namespace KERNEL {
/**
CORBA::ORB_ptr getORB() {
static CORBA::ORB_ptr orb;
if(CORBA::is_nil(orb)){
- int argc=0;
- orb = CORBA::ORB_init(argc,0);
+ orb = KERNEL::GetRefToORB();
}
return orb;
}