Debian Codegraph @

CodeLite/LSP/FilePath.cpp

raw
1 #include "FilePath.hpp"
2
3 LSP::FilePath::FilePath(const wxString& path)
4 : m_path(path)
5 {
6 #ifdef __WXMSW__
7 if(!m_path.StartsWith("file://") && !m_path.StartsWith("/")) {
8 m_path.Replace("/", "\\");
9 }
10 #endif
11 }
12
13 LSP::FilePath::FilePath() {}
14
15 LSP::FilePath::~FilePath() {}