summaryrefslogtreecommitdiff
path: root/src/sexpr
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2014-06-30 19:30:49 -0700
committerBen Longbons <b.r.longbons@gmail.com>2014-06-30 20:57:13 -0700
commitaa4df026d44bd205f8bfce8a3b8d6a1144332f32 (patch)
tree397692da57b2be8f7c083989ed37fb03308d5b2c /src/sexpr
parent7c5c2058e9aea996dc6c76a7e6d9ba4fc2a2bc77 (diff)
downloadtmwa-aa4df026d44bd205f8bfce8a3b8d6a1144332f32.tar.gz
tmwa-aa4df026d44bd205f8bfce8a3b8d6a1144332f32.tar.bz2
tmwa-aa4df026d44bd205f8bfce8a3b8d6a1144332f32.tar.xz
tmwa-aa4df026d44bd205f8bfce8a3b8d6a1144332f32.zip
Finally get around to decoupling the warning system
Diffstat (limited to 'src/sexpr')
-rw-r--r--src/sexpr/lexer_test.cpp2
-rw-r--r--src/sexpr/parser_test.cpp2
-rw-r--r--src/sexpr/variant_test.cpp2
-rw-r--r--src/sexpr/void.hpp2
4 files changed, 1 insertions, 7 deletions
diff --git a/src/sexpr/lexer_test.cpp b/src/sexpr/lexer_test.cpp
index 0fc3901..fdb47f2 100644
--- a/src/sexpr/lexer_test.cpp
+++ b/src/sexpr/lexer_test.cpp
@@ -29,8 +29,6 @@
namespace tmwa
{
-#pragma GCC diagnostic ignored "-Wzero-as-null-pointer-constant"
-
static
io::FD string_pipe(ZString sz)
{
diff --git a/src/sexpr/parser_test.cpp b/src/sexpr/parser_test.cpp
index 5113c1a..846d425 100644
--- a/src/sexpr/parser_test.cpp
+++ b/src/sexpr/parser_test.cpp
@@ -25,8 +25,6 @@
namespace tmwa
{
-#pragma GCC diagnostic ignored "-Wzero-as-null-pointer-constant"
-
static
io::FD string_pipe(ZString sz)
{
diff --git a/src/sexpr/variant_test.cpp b/src/sexpr/variant_test.cpp
index 1ecb82f..5a75780 100644
--- a/src/sexpr/variant_test.cpp
+++ b/src/sexpr/variant_test.cpp
@@ -27,8 +27,6 @@
namespace tmwa
{
-#pragma GCC diagnostic ignored "-Wzero-as-null-pointer-constant"
-
struct Tracker
{
int id, moves, copies;
diff --git a/src/sexpr/void.hpp b/src/sexpr/void.hpp
index 4ef20cc..a17de9d 100644
--- a/src/sexpr/void.hpp
+++ b/src/sexpr/void.hpp
@@ -28,7 +28,7 @@ namespace sexpr
struct Void
{
template<class T>
- constexpr operator T() noexcept { return T(); }
+ constexpr operator T() const noexcept { return T(); }
template<class T>
void operator = (T&&) noexcept {}
template<class T>