VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Main/TextUserInterface.h
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2024-07-13 10:14:52 +0200
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2024-07-13 10:14:52 +0200
commit1ee93df3b4adc891b83b05dd82bc6de851898f62 (patch)
tree00d4a721f6791c0b02cabc62ec9ca13ac4f5c057 /src/Main/TextUserInterface.h
parentbb67a22ac4214db5f1a353bb16508eb347f32c8d (diff)
downloadVeraCrypt-1ee93df3b4adc891b83b05dd82bc6de851898f62.tar.gz
VeraCrypt-1ee93df3b4adc891b83b05dd82bc6de851898f62.zip
Linux: fix linker type confusion that was causing crash.
The class AdminPasswordRequestHandler was defined in several places in the same namespace and the linker was picking up one definition for constructor and the other one when calling virtual method. Now we use different named for different implementations.
Diffstat (limited to 'src/Main/TextUserInterface.h')
-rw-r--r--src/Main/TextUserInterface.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Main/TextUserInterface.h b/src/Main/TextUserInterface.h
index 44494f32..34a7cb40 100644
--- a/src/Main/TextUserInterface.h
+++ b/src/Main/TextUserInterface.h
@@ -19,11 +19,11 @@
namespace VeraCrypt
{
- class AdminPasswordRequestHandler;
+ class AdminPasswordTextRequestHandler;
class TextUserInterface : public UserInterface
{
public:
- friend class AdminPasswordRequestHandler;
+ friend class AdminPasswordTextRequestHandler;
TextUserInterface ();
virtual ~TextUserInterface ();