--- deliantra/server/include/shstr.h 2009/10/12 14:00:58 1.33 +++ deliantra/server/include/shstr.h 2009/11/06 13:45:28 1.35 @@ -1,7 +1,7 @@ /* * This file is part of Deliantra, the Roguelike Realtime MMORPG. * - * Copyright (©) 2005,2006,2007,2008 Marc Alexander Lehmann / Robin Redeker / the Deliantra team + * Copyright (©) 2005,2006,2007,2008,2009 Marc Alexander Lehmann / Robin Redeker / the Deliantra team * * Deliantra is free software: you can redistribute it and/or modify it under * the terms of the Affero GNU General Public License as published by the @@ -130,7 +130,7 @@ return sh.length (); } -static std::ostream &operator <<(std::ostream &o, shstr_tmp sh) +static inline std::ostream &operator <<(std::ostream &o, shstr_tmp sh) { o.write (sh.s, sh.length ());