forked from qt-creator/qt-creator
Removed deprecated method Snapshot::globalNamespaceBinding().
This commit is contained in:
@@ -28,7 +28,6 @@
|
||||
**************************************************************************/
|
||||
|
||||
#include "CppDocument.h"
|
||||
#include "CppBindings.h"
|
||||
#include "FastPreprocessor.h"
|
||||
|
||||
#include <Control.h>
|
||||
@@ -545,11 +544,6 @@ Document::Ptr Snapshot::documentFromSource(const QByteArray &preprocessedCode,
|
||||
return newDoc;
|
||||
}
|
||||
|
||||
QSharedPointer<NamespaceBinding> Snapshot::globalNamespaceBinding(Document::Ptr doc) const
|
||||
{
|
||||
return CPlusPlus::bind(doc, *this);
|
||||
}
|
||||
|
||||
Document::Ptr Snapshot::document(const QString &fileName) const
|
||||
{
|
||||
return _documents.value(fileName);
|
||||
|
||||
Reference in New Issue
Block a user