~ubuntu-branches/debian/sid/kdevelop/sid

« back to all changes in this revision

Viewing changes to debuggers/gdb/mi/gdbmi.cpp

  • Committer: Package Import Robot
  • Author(s): Lisandro Damián Nicanor Pérez Meyer, Pino Toscano, Sune Vuorela, Lisandro Damián Nicanor Pérez Meyer
  • Date: 2015-09-02 21:10:24 UTC
  • mfrom: (1.3.24)
  • Revision ID: package-import@ubuntu.com-20150902211024-ntruxcyb574f3xuk
Tags: 4:4.7.1-1
* Team upload.

[ Pino Toscano ]
* Change section of kdevelop-dev to libdevel.
* Add ${misc:Depends} in kdevelop-dbg and kdevelop-l10n.

[ Sune Vuorela ]
* Make KDevelop recommend kapptemplate to have more meaningful project
  templates available.

[ Lisandro Damián Nicanor Pérez Meyer ]
* New upstream release.
  - Bump kdevplatform-dev build dependency to 1.7.1.
* Remove kde-workspace from build dependencies. We no longer provide
  a KDE 4 based workspace.
  - Add libsoprano-dev as a build dependency, it was probably previously
    pulled in by kde-workspace.

Show diffs side-by-side

added added

removed removed

Lines of Context:
85
85
 
86
86
bool TupleValue::hasField(const QString& variable) const
87
87
{
88
 
    return results_by_name.count(variable);
 
88
    return results_by_name.contains(variable);
89
89
}
90
90
 
91
91
const Value& TupleValue::operator[](const QString& variable) const
92
 
93
 
    if (results_by_name.count(variable))
94
 
        return *results_by_name[variable]->value;
95
 
    else 
 
92
{
 
93
    Result* result = results_by_name.value(variable);
 
94
    if (!result)
96
95
        throw type_error();
 
96
    return *result->value;
97
97
}
98
98
 
99
99
ListValue::~ListValue()