formatting fix
This commit is contained in:
parent
22c467cca4
commit
6bc75c735d
@ -5,7 +5,7 @@
|
||||
// James Turk (jpt2433@rit.edu)
|
||||
//
|
||||
// Version:
|
||||
// $Id: VersionInfo.hpp,v 1.2 2005/02/16 06:58:06 cozman Exp $
|
||||
// $Id: VersionInfo.hpp,v 1.3 2005/02/27 05:50:39 cozman Exp $
|
||||
|
||||
#ifndef PHOTON_UTIL_VERSIONINFO_HPP
|
||||
#define PHOTON_UTIL_VERSIONINFO_HPP
|
||||
@ -78,6 +78,18 @@ public:
|
||||
friend std::ostream& operator<<(std::ostream &o, const VersionInfo &rhs);
|
||||
};
|
||||
|
||||
// Function: ensureVersion
|
||||
// Checks a version of a library against the required version, throws
|
||||
// an APIError if the version is not met.
|
||||
//
|
||||
// Parameters:
|
||||
// library - Name of library being initialized.
|
||||
// version - Version of library being used.
|
||||
// required - Required version of library.
|
||||
void ensureVersion(const std::string& library,
|
||||
const util::VersionInfo& version,
|
||||
const util::VersionInfo& required);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user