diff options
author | Casey Dahlin <sadmac@google.com> | 2015-10-05 18:48:42 -0700 |
---|---|---|
committer | Casey Dahlin <sadmac@google.com> | 2015-10-06 10:59:46 -0700 |
commit | 308f9d49bb797858296193578b261af01d808f53 (patch) | |
tree | 781da2dc7a88dca93ccf84d1b26be6ecb2173f12 /aidl_language.h | |
parent | 0559875033cc2a747e53b442c2a3a81dc8470e7d (diff) | |
download | android_system_tools_aidl-308f9d49bb797858296193578b261af01d808f53.tar.gz android_system_tools_aidl-308f9d49bb797858296193578b261af01d808f53.tar.bz2 android_system_tools_aidl-308f9d49bb797858296193578b261af01d808f53.zip |
Remove buffer_type from signature of AidlArgument
Change-Id: Ic7fb14198eb26d25fc24b832fdd77fe68070091f
Test: Unit tests
Bug: 24410295
Signed-off-by: Casey Dahlin <sadmac@google.com>
Diffstat (limited to 'aidl_language.h')
-rw-r--r-- | aidl_language.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/aidl_language.h b/aidl_language.h index c14902f..ec1de3f 100644 --- a/aidl_language.h +++ b/aidl_language.h @@ -73,8 +73,8 @@ class AidlArgument : public AidlNode { enum Direction { IN_DIR = 1, OUT_DIR = 2, INOUT_DIR = 3 }; AidlArgument(AidlArgument::Direction direction, AidlType* type, - buffer_type name); - AidlArgument(AidlType *type, buffer_type name); + std::string name, unsigned line); + AidlArgument(AidlType *type, std::string name, unsigned line); virtual ~AidlArgument() = default; Direction GetDirection() const { return direction_; } @@ -90,7 +90,7 @@ class AidlArgument : public AidlNode { Direction direction_; bool direction_specified_; std::string name_; - int line_; + unsigned line_; DISALLOW_COPY_AND_ASSIGN(AidlArgument); }; |