Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion include/errors/error.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
#include <string_view>
#include <utility>

// Prevent conflicting name with the nil macro in Objective-C.
// See: https://github.com/threeal/errors-cpp/issues/128
#undef nil

namespace errors {

/**
Expand Down Expand Up @@ -78,7 +82,6 @@ class [[nodiscard]] Error {
*/
Error make(std::string_view msg);


/**
* @brief Gets a constant reference of an empty error.
* @return A constant reference of an empty error.
Expand Down