summaryrefslogtreecommitdiff
path: root/src/spells4.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/spells4.cc')
-rw-r--r--src/spells4.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/spells4.cc b/src/spells4.cc
index 9b71bbb4..b9ebc02c 100644
--- a/src/spells4.cc
+++ b/src/spells4.cc
@@ -399,7 +399,7 @@ void random_book_setup(s16b sval, s32b spell_idx)
static std::string spell_school_name(spell_type *spell)
{
- std::stringstream buf;
+ std::ostringstream buf;
bool first = true;
for (s32b school_idx : spell_type_get_schools(spell))