diff --git a/Modules/Examples/Protocol Benchmarks/src/main/scala/probench/KeyValueReplica.scala b/Modules/Examples/Protocol Benchmarks/src/main/scala/probench/KeyValueReplica.scala index edac956f6..eb292b606 100644 --- a/Modules/Examples/Protocol Benchmarks/src/main/scala/probench/KeyValueReplica.scala +++ b/Modules/Examples/Protocol Benchmarks/src/main/scala/probench/KeyValueReplica.scala @@ -14,7 +14,7 @@ import scala.collection.mutable class KeyValueReplica(val uid: Uid, val votingReplicas: Set[Uid]) { - def log(msg: String): Unit = + inline def log(inline msg: String): Unit = if false then println(s"[$uid] $msg") private type ClusterState = Membership[ClusterData, Paxos, Paxos]