We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 760fc8f commit f664eb8Copy full SHA for f664eb8
api/test/singleton/singleton_test.cc
@@ -82,15 +82,15 @@ void do_something()
82
/* Call do_something_in_h() */
83
84
# ifdef _WIN32
85
- HMODULE component_g = LoadLibraryA("component_h.dll");
+ HMODULE component_h = LoadLibraryA("component_h.dll");
86
# else
87
void *component_h = dlopen("libcomponent_h.so", RTLD_NOW);
88
# endif
89
90
EXPECT_NE(component_h, nullptr);
91
92
93
- auto *func_h = reinterpret_cast<void (*)()>(GetProcAddress(component_g, "do_something_in_h"));
+ auto *func_h = reinterpret_cast<void (*)()>(GetProcAddress(component_h, "do_something_in_h"));
94
95
auto *func_h = reinterpret_cast<void (*)()>(dlsym(component_h, "do_something_in_h"));
96
0 commit comments