/* Various JNI helper functions */
-/* Copyright (c) 2007-2021. The SimGrid Team. All rights reserved. */
+/* Copyright (c) 2007-2023. The SimGrid Team. All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
env_->ReleaseStringUTFChars(jstr_, value);
}
operator const char*() const { return value; }
- operator const std::string() const { return std::string(value); }
+ operator const std::string() const { return value; }
};
#endif