[ox/fs] Add PassthroughFS

This commit is contained in:
2019-01-11 19:39:20 -06:00
parent 55119253da
commit 59ee1ada56
6 changed files with 261 additions and 1 deletions

View File

@@ -0,0 +1,20 @@
/*
* Copyright 2015 - 2018 gtalent2@gmail.com
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#include "filelocation.hpp"
namespace ox {
FileLocation::~FileLocation() {
if (m_type == Path && m_data.path) {
delete m_data.path;
m_data.path = nullptr;
}
}
}