changeset 14140:d2c8b553f621

fixed C++ compiler error reported by clang 5.1
author Doug Simon <doug.simon@oracle.com>
date Tue, 11 Mar 2014 23:59:19 +0100
parents 0991bc235152
children f97c5ec83832
files src/share/vm/code/relocInfo.hpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/code/relocInfo.hpp	Tue Mar 11 20:35:34 2014 +0100
+++ b/src/share/vm/code/relocInfo.hpp	Tue Mar 11 23:59:19 2014 +0100
@@ -369,7 +369,7 @@
   // "immediate" in the prefix header word itself.  This optimization
   // is invisible outside this module.)
 
-  inline friend relocInfo prefix_relocInfo(int datalen = 0);
+  inline friend relocInfo prefix_relocInfo(int datalen);
 
  protected:
   // an immediate relocInfo optimizes a prefix with one 10-bit unsigned value