"source/adios2/utilities/format/bp1/BP1Aggregator.cpp" did not exist on "889118f358dd07930d18a90d44d2805c25e512e5"
Newer
Older
#include "MantidKernel/LibraryWrapper.h"
namespace Mantid {
namespace Kernel {
/**
* Move constructor
* @param src Constructor from this temporary
*/
LibraryWrapper::LibraryWrapper(LibraryWrapper &&src) noexcept {
*this = std::move(src);
}
/**
* Move assignment
* @param rhs Temporary object as source of assignment
*/
LibraryWrapper &LibraryWrapper::operator=(LibraryWrapper &&rhs) noexcept {
using std::swap;
swap(m_module, rhs.m_module);
return *this;
}
LibraryWrapper::~LibraryWrapper() {
// Close lib
if (m_module) {
DllOpen::closeDll(m_module);
m_module = nullptr;
Gigg, Martyn Anthony
committed
}
* @param filepath :: The filepath to the directory where the library is.
Janik Zikovsky
committed
* @return True if DLL is opened or already open
bool LibraryWrapper::openLibrary(const std::string &filepath) {
// Load dynamically loaded library
Gigg, Martyn Anthony
committed
return false;
}
}
return true;
} // namespace Kernel
} // namespace Mantid