From 29342836a6b60f46a0f5c4c938a8cd99e2e033ea Mon Sep 17 00:00:00 2001 From: Justin Frank Date: Fri, 8 Feb 2019 19:25:40 -0800 Subject: [PATCH] Fixed Selection being defined as a struct and class --- src/Makefile | 2 +- src/selectors.hh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Makefile b/src/Makefile index 19a38e5a..1c31dce2 100644 --- a/src/Makefile +++ b/src/Makefile @@ -85,7 +85,7 @@ else LDFLAGS += -rdynamic endif -CXXFLAGS += -pedantic -std=c++17 -g -Wall -Wextra -Wno-unused-parameter -Wno-reorder -Wno-sign-compare -Wno-address -Wno-noexcept-type -Wno-unknown-attributes -Wno-unknown-warning-option +CXXFLAGS += -pedantic -std=c++17 -g -Wall -Wextra -Wno-unused-parameter -Wno-reorder -Wno-sign-compare -Wno-address all : kak diff --git a/src/selectors.hh b/src/selectors.hh index d2cbd040..7ff06a6b 100644 --- a/src/selectors.hh +++ b/src/selectors.hh @@ -10,7 +10,7 @@ namespace Kakoune { -class Selection; +struct Selection; class Buffer; class Regex; class Context;