martinmoene / optional-lite

optional lite - A C++17-like optional, a nullable object for C++98, C++11 and later in a single-file header-only library
Boost Software License 1.0
403 stars 45 forks source link

Get rid of unused function warning #29

Closed medithe closed 6 years ago

martinmoene commented 6 years ago

@medithe Thanks for pointing at the warning. Here I just did a #if optional_CPP11_OR_GREATER .... #endif following the pattern that is already used in the file.