diff options
author | Kristina Chodorow <kchodorow@google.com> | 2015-10-05 20:19:09 +0000 |
---|---|---|
committer | Laszlo Csomor <laszlocsomor@google.com> | 2015-10-06 07:03:53 +0000 |
commit | ae5f442e9cf3ef6578e70104af7cb2a2288b9fb8 (patch) | |
tree | 711b019b5e6353567bae773c0ef79ed78a29ec2d /src/main/cpp/blaze_startup_options_common.cc | |
parent | d511eb3dfa8bdf4b84a15a081aae9ca51148c925 (diff) |
Remove copy ctor and operator= from BlazeStartupOptions
--
MOS_MIGRATED_REVID=104688018
Diffstat (limited to 'src/main/cpp/blaze_startup_options_common.cc')
-rw-r--r-- | src/main/cpp/blaze_startup_options_common.cc | 29 |
1 files changed, 1 insertions, 28 deletions
diff --git a/src/main/cpp/blaze_startup_options_common.cc b/src/main/cpp/blaze_startup_options_common.cc index 914f7ab4e5..c151c7eedb 100644 --- a/src/main/cpp/blaze_startup_options_common.cc +++ b/src/main/cpp/blaze_startup_options_common.cc @@ -26,7 +26,7 @@ namespace blaze { -void BlazeStartupOptions::Init() { +BlazeStartupOptions::BlazeStartupOptions() { bool testing = getenv("TEST_TMPDIR") != NULL; if (testing) { output_root = MakeAbsolute(getenv("TEST_TMPDIR")); @@ -61,33 +61,6 @@ string BlazeStartupOptions::GetHostJavabase() { return host_javabase; } -void BlazeStartupOptions::Copy( - const BlazeStartupOptions &rhs, BlazeStartupOptions *lhs) { - assert(lhs); - - lhs->output_base = rhs.output_base; - lhs->install_base = rhs.install_base; - lhs->output_root = rhs.output_root; - lhs->output_user_root = rhs.output_user_root; - lhs->block_for_lock = rhs.block_for_lock; - lhs->host_jvm_debug = rhs.host_jvm_debug; - lhs->host_jvm_profile = rhs.host_jvm_profile; - lhs->host_javabase = rhs.host_javabase; - lhs->host_jvm_args = rhs.host_jvm_args; - lhs->batch = rhs.batch; - lhs->batch_cpu_scheduling = rhs.batch_cpu_scheduling; - lhs->io_nice_level = rhs.io_nice_level; - lhs->max_idle_secs = rhs.max_idle_secs; - lhs->skyframe = rhs.skyframe; - lhs->blaze_cpu = rhs.blaze_cpu; - lhs->webstatus_port = rhs.webstatus_port; - lhs->watchfs = rhs.watchfs; - lhs->allow_configurable_attributes = rhs.allow_configurable_attributes; - lhs->fatal_event_bus_exceptions = rhs.fatal_event_bus_exceptions; - lhs->option_sources = rhs.option_sources; - lhs->invocation_policy = rhs.invocation_policy; -} - blaze_exit_code::ExitCode BlazeStartupOptions::ProcessArg( const string &argstr, const string &next_argstr, const string &rcfile, bool *is_space_separated, string *error) { |