PURPOSE. See the GNU Library General Public License for more details.
You should have received a copy of the GNU Library General Public
License along with this library; if not, write to the Free Software
-Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
*/
-#ifdef __GNUG__
-#pragma implementation
+
+#ifdef HAVE_CONFIG_H
+#include <simgear_config.h>
#endif
+
#include <iostream>
#include <fstream>
#include "SGSmplhist.hxx"
return (0);
}
-void SampleHistogram::printBuckets (ostream & s)
+void SampleHistogram::printBuckets (std::ostream & s)
{
for (int i = 0; i < howManyBuckets; i++)
{
this->SampleStatistic::reset ();
if (howManyBuckets > 0)
{
- for (register int i = 0; i < howManyBuckets; i++)
+ for (int i = 0; i < howManyBuckets; i++)
{
bucketCount[i] = 0;
}