aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/cpp/startup_options.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/cpp/startup_options.h')
-rw-r--r--src/main/cpp/startup_options.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/main/cpp/startup_options.h b/src/main/cpp/startup_options.h
index d47d043f1a..d1f33308cb 100644
--- a/src/main/cpp/startup_options.h
+++ b/src/main/cpp/startup_options.h
@@ -25,8 +25,6 @@ namespace blaze {
using std::string;
-constexpr char BAZEL_PRODUCT_NAME[] = "Bazel";
-
// This class holds the parsed startup options for Blaze.
// These options and their defaults must be kept in sync with those in
// src/main/java/com/google/devtools/build/lib/runtime/BlazeServerStartupOptions.java.
@@ -39,7 +37,7 @@ constexpr char BAZEL_PRODUCT_NAME[] = "Bazel";
// names also don't conform to the style guide.
class StartupOptions {
public:
- explicit StartupOptions(const string& product_name);
+ StartupOptions();
virtual ~StartupOptions();
// Parses a single argument, either from the command line or from the .blazerc
@@ -117,7 +115,7 @@ class StartupOptions {
const std::vector<string> &user_options, string *error) const;
// The capitalized name of this binary.
- const string product_name;
+ string product_name;
// Blaze's output base. Everything is relative to this. See
// the BlazeDirectories Java class for details.