Skip to content

Commit

Permalink
drivers added Q_ASSERT()
Browse files Browse the repository at this point in the history
  • Loading branch information
silverqx committed Apr 7, 2024
1 parent 0620d77 commit c64170c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/common/src/orm/drivers/utils/fs_p.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ std::wstring FsPrivate::getModuleFileName(const HMODULE handle)
#elif __linux__
std::string FsPrivate::getModuleFileName(void *const address)
{
Q_ASSERT(address != nullptr);

Dl_info info {};

const auto result = dladdr(address, &info);
Expand Down

0 comments on commit c64170c

Please sign in to comment.