VirtualBox

Ignore:
Timestamp:
Jun 30, 2009 3:59:22 PM (15 years ago)
Author:
vboxsync
Message:

Main: move libxml2 to IPRT unconditionally (remove VBOX_WITH_LIBXML2_IN_VBOXRT); move xml classes to IPRT; introduce IPRT ministring class as base for both Utf8Str and xml.cpp, with better performance; introduce some Utf8Str helpers to avoid string buffer hacks in Main code; remove std::auto_ptr<> from some headers

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/SharedFolderImpl.cpp

    r21077 r21079  
    2828
    2929#include <iprt/param.h>
     30#include <iprt/cpputils.h>
    3031#include <iprt/path.h>
    31 #include <iprt/cpputils.h>
    3232
    3333// constructor / destructor
     
    199199        ;
    200200#else
    201     if (hostPathLen == 1 && RTPATH_IS_SEP (hostPath[0]))
     201    if (hostPathLen == 1 && RTPATH_IS_SEP(hostPath[0]))
    202202        ;
    203203#endif
    204204    else
    205         RTPathStripTrailingSlash (hostPath.mutableRaw());
     205        hostPath.stripTrailingSlash();
    206206
    207207    /* Check whether the path is full (absolute) */
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette