]> sigrok.org Git - pulseview.git/blobdiff - pv/data/decode/row.hpp
rowdata: Use emplace_back() for Annotation objects.
[pulseview.git] / pv / data / decode / row.hpp
index 6413e78808bb0de907c83a89c5e0e6073a060e89..5ddd10d3318fb2b0c9e0d399fa8b83915164d45f 100644 (file)
@@ -14,8 +14,7 @@
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
+ * along with this program; if not, see <http://www.gnu.org/licenses/>.
  */
 
 #ifndef PULSEVIEW_PV_DATA_DECODE_ROW_HPP
@@ -38,7 +37,7 @@ public:
        Row();
 
        Row(const srd_decoder *decoder,
-               const srd_decoder_annotation_row *row = NULL);
+               const srd_decoder_annotation_row *row = nullptr);
 
        const srd_decoder* decoder() const;
        const srd_decoder_annotation_row* row() const;
@@ -52,8 +51,8 @@ private:
        const srd_decoder_annotation_row *row_;
 };
 
-} // decode
-} // data
-} // pv
+}  // namespace decode
+}  // namespace data
+}  // namespace pv
 
 #endif // PULSEVIEW_PV_DATA_DECODE_ROW_HPP