From 2e20c8b655c0dcb3ae6fde1fbb7de1a0f01937f7 Mon Sep 17 00:00:00 2001 From: Jacob Dufault Date: Sun, 7 Jan 2018 13:37:40 -0800 Subject: [PATCH] Use c++14 by default if no language is specified. --- src/project.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/project.cc b/src/project.cc index 4f6159ca..0a853027 100644 --- a/src/project.cc +++ b/src/project.cc @@ -153,7 +153,7 @@ Project::Entry GetCompilationEntryFromCompileCommandEntry( if (*source_file_type == "c") result.args.push_back("-std=gnu11"); else if (*source_file_type == "c++") - result.args.push_back("-std=c++11"); + result.args.push_back("-std=c++14"); } }