Fix class/struct mismatches

This commit is contained in:
Maxime Coste 2013-02-18 14:00:43 +01:00
parent bd5955c737
commit 67971995f8
7 changed files with 7 additions and 7 deletions

View File

@ -9,7 +9,7 @@
namespace Kakoune
{
class Context;
struct Context;
typedef std::vector<String> CandidateList;

View File

@ -87,7 +87,7 @@ public:
bool is_editing() const { return m_edition_level!= 0; }
private:
friend class scoped_edition;
friend struct scoped_edition;
void begin_edition();
void end_edition();

View File

@ -12,7 +12,7 @@ namespace Kakoune
{
class Buffer;
class Selection;
struct Selection;
// A Filter is a function which is applied to a Buffer and a pending
// Modification in order to mutate the Buffer or the Modification

View File

@ -8,7 +8,7 @@
namespace Kakoune
{
class Context;
struct Context;
typedef std::function<void (const String&, Context&)> HookFunc;
class HookManager

View File

@ -7,7 +7,7 @@
namespace Kakoune
{
class Context;
struct Context;
class Register
{

View File

@ -9,7 +9,7 @@
namespace Kakoune
{
class Context;
struct Context;
typedef std::function<String (const String& name, const Context&)> EnvVarRetriever;
typedef std::unordered_map<String, String> EnvVarMap;

View File

@ -11,7 +11,7 @@ namespace Kakoune
class String;
class DisplayBuffer;
class DisplayCoord;
struct DisplayCoord;
enum class MenuStyle
{