Improve cross platform support.

Make validate work for C++11 because the library supports it.
Fix an unused variable mistake i made earlier.
Make constructor public, seems it should be. Possible compiler bug?
This commit is contained in:
gm
2016-06-04 13:38:50 -04:00
committed by Howard Hinnant
parent bf505cc66a
commit 7e66cb2e83
3 changed files with 12 additions and 12 deletions
+1 -2
View File
@@ -126,7 +126,7 @@ CONSTDATA auto max_day = date::dec/31;
namespace detail
{
class undocumented {explicit undocumented() = default;};
struct undocumented {explicit undocumented() = default;};
}
#ifndef _MSC_VER
@@ -460,7 +460,6 @@ load_timezone_mappings_from_csv_file(const std::string& input_path)
sis.clear();
sis.str(linebuf);
char ch;
read_field_quote();
std::getline(sis, zm.other, '\"');
read_field_delim();