File tree Expand file tree Collapse file tree
pluginlib/include/pluginlib Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ class ClassLoader : public ClassLoaderBase
9090 * \return An instance of the class
9191 * \deprecated use either createInstance() or createUnmanagedInstance()
9292 */
93- __attribute__ (( deprecated)) T * createClassInstance (
93+ [[ deprecated]] T * createClassInstance (
9494 const std::string & lookup_name,
9595 bool auto_load = true );
9696
Original file line number Diff line number Diff line change @@ -547,7 +547,11 @@ std::string ClassLoader<T>::getPathSeparator()
547547/* **************************************************************************/
548548{
549549#if BOOST_FILESYSTEM_VERSION >= 3
550- return boost::filesystem::path (" /" ).native ();
550+ # ifdef _WIN32
551+ return boost::filesystem::path (" /" ).string ();
552+ # else
553+ return boost::filesystem::path (" /" ).native ();
554+ # endif
551555#else
552556 return boost::filesystem::path (" /" ).external_file_string ();
553557#endif
You can’t perform that action at this time.
0 commit comments