summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Frank <justinpfrank@protonmail.com>2019-02-08 19:25:40 -0800
committerJustin Frank <justinpfrank@protonmail.com>2019-02-27 22:45:31 -0800
commit29342836a6b60f46a0f5c4c938a8cd99e2e033ea (patch)
treeb48034e84df18df3e04c4b8416b874eb96888c48
parent699d066ebd5a468def2ea0f928fadcac5ec4a51d (diff)
Fixed Selection being defined as a struct and class
-rw-r--r--src/Makefile2
-rw-r--r--src/selectors.hh2
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;