Commit 7eae5150 authored by Roberto Raggi's avatar Roberto Raggi
Browse files

Removed deprecated method Snapshot::globalNamespaceBinding().

parent 3922be1b
......@@ -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);
......
......@@ -42,7 +42,6 @@ namespace CPlusPlus {
class Macro;
class MacroArgumentReference;
class NamespaceBinding;
class CPLUSPLUS_EXPORT Document
{
......@@ -365,8 +364,6 @@ public:
Document::Ptr documentFromSource(const QByteArray &preprocessedCode,
const QString &fileName) const;
QSharedPointer<NamespaceBinding> globalNamespaceBinding(Document::Ptr doc) const;
private:
void simplified_helper(Document::Ptr doc, Snapshot *snapshot) const;
......
......@@ -36,6 +36,8 @@
namespace CPlusPlus {
class NamespaceBinding;
class CPLUSPLUS_EXPORT DeprecatedLookupContext
{
public:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment