summaryrefslogtreecommitdiffstats
path: root/Source/cmCableInstantiateCommand.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2001-05-01 21:35:23 (GMT)
committerBrad King <brad.king@kitware.com>2001-05-01 21:35:23 (GMT)
commit45e9d19c6c456024f6cef663e29447bfae148fff (patch)
tree5f334ca8803ff258fcfbaf01ea83fde000b19165 /Source/cmCableInstantiateCommand.cxx
parentf7d33c41cf089b857893edcd31fae7fb69859c6e (diff)
downloadCMake-45e9d19c6c456024f6cef663e29447bfae148fff.zip
CMake-45e9d19c6c456024f6cef663e29447bfae148fff.tar.gz
CMake-45e9d19c6c456024f6cef663e29447bfae148fff.tar.bz2
ENH: Changed WriteConfiguration back to const because it doesn't need to report errors anymore.
Diffstat (limited to 'Source/cmCableInstantiateCommand.cxx')
-rw-r--r--Source/cmCableInstantiateCommand.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/Source/cmCableInstantiateCommand.cxx b/Source/cmCableInstantiateCommand.cxx
index a0dd898..ddf7903 100644
--- a/Source/cmCableInstantiateCommand.cxx
+++ b/Source/cmCableInstantiateCommand.cxx
@@ -47,7 +47,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
/**
* Write the CABLE configuration code to define this InstantiationSet.
*/
-bool cmCableInstantiateCommand::WriteConfiguration()
+void cmCableInstantiateCommand::WriteConfiguration() const
{
std::ostream& os = m_CableData->GetOutputStream();
cmCableData::Indentation indent = m_CableData->GetIndentation();
@@ -70,6 +70,4 @@ bool cmCableInstantiateCommand::WriteConfiguration()
os << "</Element>" << std::endl;
}
os << indent << "</InstantiationSet>" << std::endl;
-
- return true;
}