aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/module.cpp
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2017-05-20 04:12:31 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2017-05-20 04:12:31 +0300
commit9e68f4ed53ac6972474e2d0e4b00574cd374cd82 (patch)
treedbc3294ef862d35f985f78b83804a29fe165ccce /src/module.cpp
parentcode style (diff)
downloadwinapi-debug-9e68f4ed53ac6972474e2d0e4b00574cd374cd82.tar.gz
winapi-debug-9e68f4ed53ac6972474e2d0e4b00574cd374cd82.zip
code style
Diffstat (limited to '')
-rw-r--r--src/module.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/module.cpp b/src/module.cpp
index 3694e5f..2c1d26c 100644
--- a/src/module.cpp
+++ b/src/module.cpp
@@ -23,7 +23,7 @@ namespace pdb
: raw{raw}
{
if (raw.SizeOfStruct != sizeof(raw))
- throw std::runtime_error{"unexpected module structure size"};
+ throw std::runtime_error{"invalid IMAGEHLP_MODULE64.SizeOfStruct"};
}
ModuleInfo::Raw ModuleInfo::create_raw()