summaryrefslogtreecommitdiffstats
path: root/aidl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'aidl.cpp')
-rw-r--r--aidl.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/aidl.cpp b/aidl.cpp
index 513aaee..cd778fa 100644
--- a/aidl.cpp
+++ b/aidl.cpp
@@ -330,7 +330,7 @@ bool write_cpp_dep_file(const CppOptions& options,
string generate_outputFileName(const JavaOptions& options,
const AidlInterface& interface) {
- string name = interface.GetName();
+ const string& name = interface.GetName();
string package = interface.GetPackage();
string result;
@@ -536,8 +536,8 @@ bool parse_preprocessed_file(const IoDelegate& io_delegate,
}
AidlError load_and_validate_aidl(
- const std::vector<std::string> preprocessed_files,
- const std::vector<std::string> import_paths,
+ const std::vector<std::string>& preprocessed_files,
+ const std::vector<std::string>& import_paths,
const std::string& input_file_name,
const IoDelegate& io_delegate,
TypeNamespace* types,