diff options
author | aneejit1 <aneejit1@gmail.com> | 2020-11-11 00:22:16 +0000 |
---|---|---|
committer | aneejit1 <aneejit1@gmail.com> | 2020-11-13 15:13:37 +0000 |
commit | 208f77024e5231bffa800964b1123cbde8fa3f29 (patch) | |
tree | ec19896681c321fd70d52befdcea62559597eeb4 /src/qalculateeditunknownvariabledialog.cpp | |
parent | 7cbf6dffbb0ec5521db6136b39d35fd9e98663ee (diff) | |
download | qalculate-tde-208f77024e5231bffa800964b1123cbde8fa3f29.tar.gz qalculate-tde-208f77024e5231bffa800964b1123cbde8fa3f29.zip |
Fix undeclared declarations of string/vector/list; prefix declarations with 'std::'
Signed-off-by: aneejit1 <aneejit1@gmail.com>
Diffstat (limited to 'src/qalculateeditunknownvariabledialog.cpp')
-rw-r--r-- | src/qalculateeditunknownvariabledialog.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/qalculateeditunknownvariabledialog.cpp b/src/qalculateeditunknownvariabledialog.cpp index 15ca74a..d8ad09d 100644 --- a/src/qalculateeditunknownvariabledialog.cpp +++ b/src/qalculateeditunknownvariabledialog.cpp @@ -21,6 +21,7 @@ #include "qalculate_tde_utils.h" #include "qalculateeditnamesdialog.h" +#include <string> #include <tqgrid.h> #include <klineedit.h> #include <tqpushbutton.h> @@ -124,7 +125,7 @@ void QalculateEditUnknownVariableDialog::slotHelp() { } void QalculateEditUnknownVariableDialog::slotOk() { - string str = nameEdit->text().ascii(); + std::string str = nameEdit->text().ascii(); remove_blank_ends(str); if(str.empty() && (!names_edit_dialog || names_edit_dialog->isEmpty())) { //no name -- open dialog again |