- Fix typo
- Add a missing header
- Remove unnecessary newlines
Change-Id: Id9b5f287a4dbdca9b997fcfb6241a07b783772fd
namespace WA {
ServiceFileLocker::ServiceFileLocker(bool blocking) :
- FileLocker(FILE_LOCKER, blocking)
-{
-}
+ FileLocker(FILE_LOCKER, blocking) {}
} /* namespace WebAuthn */
//
private:
- Singleton()
- {}
+ Singleton() {}
static Singleton &InternalInstance();
public:
- virtual ~Singleton()
- {}
+ virtual ~Singleton() {}
static Class &Instance();
};
m_libraryHandle = dlopen(m_libraryPath.c_str(), RTLD_LAZY | RTLD_LOCAL);
if (!m_libraryHandle)
{
- LogError("Unale to load library(" << m_libraryPath << "): " << dlerror());
+ LogError("Unable to load library(" << m_libraryPath << "): " << dlerror());
throw std::runtime_error("Unable to load library");
}
}
DLLoader::~DLLoader()
{
- LogDebug("Unlaoding library: " << m_libraryPath);
+ LogDebug("Unloading library: " << m_libraryPath);
dlclose(m_libraryHandle);
}
void* DLLoader::ResolveFunction(const std::string &name) noexcept
#include <thread>
#include <exception.h>
+#include <message-buffer.h>
namespace WA {