]> sourceware.org Git - libabigail.git/commitdiff
Style fix
authorDodji Seketeli <dodji@redhat.com>
Thu, 6 Nov 2014 10:27:14 +0000 (11:27 +0100)
committerDodji Seketeli <dodji@redhat.com>
Fri, 7 Nov 2014 11:15:09 +0000 (12:15 +0100)
* include/abg-ir.h (class location): Remove useless white space.
* src/abg-writer.cc (type_has_existing_id): Use type_base_sptr
rather than shared_ptr<type_base>.
(write_template_tparameter): Use template_tparameter_sptr rather
than shared_ptr<template_tparameter>.

Signed-off-by: Dodji Seketeli <dodji@redhat.com>
include/abg-ir.h
src/abg-writer.cc

index 30970d0cdee7a222636b6bd7fe166d4adae8006b..eae039954324a7a86f30a387690ef2b2a2ab8716 100644 (file)
@@ -105,7 +105,7 @@ class location
 {
   unsigned             value_;
 
-  location(unsigned v) : value_(v) { }
+  location(unsigned v) : value_(v) {}
 
 public:
 
index 802dc521d16ba89b3795e57f8c1bcd9f966af6cb..dce7f996e2bcc59d9b76e350929bc7e914edf3bb 100644 (file)
@@ -137,7 +137,7 @@ public:
 
   /// @return true iff type has already been assigned an ID.
   bool
-  type_has_existing_id(shared_ptr<type_base> type) const
+  type_has_existing_id(type_base_sptr type) const
   {return type_has_existing_id(type.get());}
 
   /// @return true iff type has already been assigned an ID.
@@ -2050,9 +2050,9 @@ write_non_type_tparameter(
 /// @return true upon successful completion, false otherwise.
 
 static bool
-write_template_tparameter
-(const shared_ptr<template_tparameter> decl,
write_context&        ctxt, unsigned indent)
+write_template_tparameter (const template_tparameter_sptr      decl,
+                          write_context&                       ctxt,
                         unsigned                             indent)
 {
   if (!decl)
     return false;
This page took 0.044782 seconds and 5 git commands to generate.