mirror of
https://github.com/paboyle/Grid.git
synced 2025-06-17 07:17:06 +01:00
update license and if guards
This commit is contained in:
@ -5,7 +5,7 @@
|
||||
|
||||
// This program is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
// the Free Software Foundation, either version 3 of the License, or
|
||||
// the Free Software Foundation, either version 2 of the License, or
|
||||
// (at your option) any later version.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
@ -16,7 +16,8 @@
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
#pragma once
|
||||
#ifndef RNG_STATE_SHOW_H
|
||||
#define RNG_STATE_SHOW_H
|
||||
|
||||
#include <sstream>
|
||||
#include <string>
|
||||
@ -105,12 +106,12 @@ T& reads(T& x, const std::string& str)
|
||||
return x;
|
||||
}
|
||||
|
||||
void fdisplay(FILE* fp, const std::string& str)
|
||||
inline void fdisplay(FILE* fp, const std::string& str)
|
||||
{
|
||||
fprintf(fp, "%s", str.c_str());
|
||||
}
|
||||
|
||||
void fdisplayln(FILE* fp, const std::string& str)
|
||||
inline void fdisplayln(FILE* fp, const std::string& str)
|
||||
{
|
||||
fprintf(fp, "%s\n", str.c_str());
|
||||
}
|
||||
@ -118,3 +119,5 @@ void fdisplayln(FILE* fp, const std::string& str)
|
||||
#ifdef CURRENT_DEFAULT_NAMESPACE_NAME
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user