Skip to content

error: expected a class name after '~' to name a destructor #14

@NadimintiSaiSirisha

Description

@NadimintiSaiSirisha

I am using Qt version 5.12.12.

When trying to run the code in Windows 11, I am facing the following error in GUI/drs4scriptdlg.cpp

DDRS4PALS-master\DDRS4PALS-master\GUI\drs4scriptdlg.cpp:883: error: expected a class name after '~' to name a destructor

It points to the code snippet from line 883:

QString compl = completion;
compl.remove("int_value_of_maximum_1024").remove(""name_of_file"").remove("int_value_in_mV");
compl.remove("int_cell").remove("int_number_of_points").remove("double_value_in%_");
compl.remove("bool_using_linear?").remove("bool_using_cubic?").remove("int_delay_in_nanoseconds").remove("double_value_in_picoseconds");
compl.remove("bool_positive?").remove("bool_burst?").remove("int_value").remove("bool_areaFilter?").remove("bool_burstMode?");
compl.remove("bool_automatically?").remove("variant");
compl.remove(" << bool").remove(" << int").remove(" << double").remove(" << string");

Please help to resolve this.

I am attaching the screenshot for reference.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions