From 165cda2287ad634514b9fd114b706317c8792a8e Mon Sep 17 00:00:00 2001 From: Christopher Snowhill Date: Sat, 16 Sep 2017 20:51:07 -0700 Subject: [PATCH] Minor pedantic fixup. --- fb2k/foo_vgmstream.cpp | 2 +- fb2k/foo_vgmstream.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/fb2k/foo_vgmstream.cpp b/fb2k/foo_vgmstream.cpp index 079d35dc..a15d4243 100644 --- a/fb2k/foo_vgmstream.cpp +++ b/fb2k/foo_vgmstream.cpp @@ -407,7 +407,7 @@ void input_vgmstream::get_subsong_info(t_uint32 p_subsong, pfc::string_base & ti } } -bool input_vgmstream::get_description_tag(pfc::string_base & temp, pfc::string_base & description, const char *tag, char delimiter) { +bool input_vgmstream::get_description_tag(pfc::string_base & temp, pfc::string_base const& description, const char *tag, char delimiter) { // extract a "tag" from the description string t_size pos = description.find_first(tag); t_size eos; diff --git a/fb2k/foo_vgmstream.h b/fb2k/foo_vgmstream.h index 55a0d5d7..cf0904ea 100644 --- a/fb2k/foo_vgmstream.h +++ b/fb2k/foo_vgmstream.h @@ -61,7 +61,7 @@ class input_vgmstream { void setup_vgmstream(abort_callback & p_abort); void load_settings(); void get_subsong_info(t_uint32 p_subsong, pfc::string_base & title, int *length_in_ms, int *total_samples, int *loop_start, int *loop_end, int *sample_rate, int *channels, int *bitrate, pfc::string_base & description, abort_callback & p_abort); - bool get_description_tag(pfc::string_base & temp, pfc::string_base & description, const char *tag, char delimiter = '\n'); + bool get_description_tag(pfc::string_base & temp, pfc::string_base const& description, const char *tag, char delimiter = '\n'); }; /* foo_streamfile.cpp */