summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/IFR_Service/be_init.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/IFR_Service/be_init.cpp')
-rw-r--r--TAO/orbsvcs/IFR_Service/be_init.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/TAO/orbsvcs/IFR_Service/be_init.cpp b/TAO/orbsvcs/IFR_Service/be_init.cpp
index 4099b328eba..017c1402ec3 100644
--- a/TAO/orbsvcs/IFR_Service/be_init.cpp
+++ b/TAO/orbsvcs/IFR_Service/be_init.cpp
@@ -31,7 +31,7 @@ BE_save_orb_args (int &argc, char *argv[])
// If the arg ends with either .idl or .pidl, we're done.
- int len = ACE_static_cast (int, tmp.length ());
+ int len = static_cast<int> (tmp.length ());
int pos = tmp.find (".idl");
if (len - pos == 4)
@@ -62,7 +62,7 @@ BE_save_orb_args (int &argc, char *argv[])
return 0;
}
-// ac must be passed in by reference, because it is also
+// 'ac' must be passed in by reference, because it is also
// passed by reference to ORB_init, which may modify it.
// After BE_ifr_init returns to main() the modified argc
// must be passed to DRV_parse_args().
@@ -109,6 +109,8 @@ BE_init (int &argc, char *argv[])
return status;
}
+ idl_global->using_ifr_backend (true);
+
return BE_ifr_orb_init (argc, argv);
}