A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove explicit conversion to std::string when it's not required.
[simgrid.git]
/
src
/
bindings
/
java
/
JavaContext.cpp
diff --git
a/src/bindings/java/JavaContext.cpp
b/src/bindings/java/JavaContext.cpp
index
d112228
..
a9ea072
100644
(file)
--- a/
src/bindings/java/JavaContext.cpp
+++ b/
src/bindings/java/JavaContext.cpp
@@
-17,15
+17,7
@@
extern JavaVM* __java_vm;
XBT_LOG_NEW_DEFAULT_CATEGORY(java, "MSG for Java(TM)");
XBT_LOG_NEW_DEFAULT_CATEGORY(java, "MSG for Java(TM)");
-namespace simgrid {
-namespace kernel {
-namespace context {
-
-ContextFactory* java_factory()
-{
- XBT_INFO("Using regular java threads.");
- return new JavaContextFactory();
-}
+namespace simgrid::kernel::context {
JavaContextFactory::JavaContextFactory() : ContextFactory()
{
JavaContextFactory::JavaContextFactory() : ContextFactory()
{
@@
-83,4
+75,4
@@
void JavaContext::stop()
simgrid::ForcefulKillException::do_throw(); // clean RAII variables with the dedicated exception
}
simgrid::ForcefulKillException::do_throw(); // clean RAII variables with the dedicated exception
}
-}
}}
// namespace simgrid::kernel::context
+} // namespace simgrid::kernel::context