From 596fa5a13ddda5af73d9fc85edc3e08df8c42923 Mon Sep 17 00:00:00 2001 From: Timothy Gu Date: Wed, 20 Dec 2017 06:38:28 -0800 Subject: [PATCH] More comments --- src/env.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/env.h b/src/env.h index b0863aadb3f194..3cb95bf39220e2 100644 --- a/src/env.h +++ b/src/env.h @@ -361,8 +361,8 @@ class IsolateData { }; struct ContextInfo { - explicit ContextInfo(std::string name) : name(name) {} - std::string name; + explicit ContextInfo(const std::string& name) : name(name) {} + const std::string name; std::string origin; bool is_default = false; };