[MOAB-dev] r1502 - MOAB/trunk/refiner
dcthomp at mcs.anl.gov
dcthomp at mcs.anl.gov
Sun Dec 30 21:20:53 CST 2007
Author: dcthomp
Date: 2007-12-30 21:20:53 -0600 (Sun, 30 Dec 2007)
New Revision: 1502
Modified:
MOAB/trunk/refiner/MBSimplexTemplateRefiner.hpp
MOAB/trunk/refiner/MBSimplexTemplateTagAssigner.cpp
Log:
BUG: Get methods should not take an argument.
COMP: Eliminate warnings.
Modified: MOAB/trunk/refiner/MBSimplexTemplateRefiner.hpp
===================================================================
--- MOAB/trunk/refiner/MBSimplexTemplateRefiner.hpp 2007-12-28 21:37:54 UTC (rev 1501)
+++ MOAB/trunk/refiner/MBSimplexTemplateRefiner.hpp 2007-12-31 03:20:53 UTC (rev 1502)
@@ -42,7 +42,7 @@
virtual unsigned long get_heap_size_bound( int max_recursions ) const { return 48 * 4 * ( 1 << max_recursions ); }
virtual void set_tag_assigner( MBSimplexTemplateTagAssigner* ta ) { this->tag_assigner = ta; }
- MBSimplexTemplateTagAssigner* get_tag_assigner( MBSimplexTemplateTagAssigner* ta ) const { return this->tag_assigner; }
+ MBSimplexTemplateTagAssigner* get_tag_assigner() const { return this->tag_assigner; }
protected:
MBSimplexTemplateTagAssigner* tag_assigner;
Modified: MOAB/trunk/refiner/MBSimplexTemplateTagAssigner.cpp
===================================================================
--- MOAB/trunk/refiner/MBSimplexTemplateTagAssigner.cpp 2007-12-28 21:37:54 UTC (rev 1501)
+++ MOAB/trunk/refiner/MBSimplexTemplateTagAssigner.cpp 2007-12-31 03:20:53 UTC (rev 1502)
@@ -14,8 +14,15 @@
void MBSimplexTemplateTagAssigner::operator()( const void* ta, const void* tb, void* tp )
{
+ (void)ta;
+ (void)tb;
+ (void)tp;
}
void MBSimplexTemplateTagAssigner::operator()( const void* ta, const void* tb, const void* tc, void* tp )
{
+ (void)ta;
+ (void)tb;
+ (void)tc;
+ (void)tp;
}
More information about the moab-dev
mailing list